Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.554/2.554, allocations: 390.3 MB / 402.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 184.1 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 221.3 MB / 0.7915 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 99.86 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.872e-05/4.874e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3309, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.377, allocations: 151.1 MB / 1.366 GB, free: 2.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.377, allocations: 76.08 kB / 1.367 GB, free: 2.891 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01823/1.396, allocations: 6.737 MB / 1.373 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/1.396, allocations: 0 / 1.373 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.501e-05/1.396, allocations: 8 kB / 1.373 GB, free: 13.14 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001209/1.397, allocations: 0.6028 MB / 1.374 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/1.397, allocations: 12.02 kB / 1.374 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/1.397, allocations: 71.91 kB / 1.374 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/1.397, allocations: 51.39 kB / 1.374 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/1.398, allocations: 329.6 kB / 1.374 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/1.398, allocations: 30.22 kB / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/1.398, allocations: 40.88 kB / 1.374 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/1.399, allocations: 361.4 kB / 1.375 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.399, allocations: 0 / 1.375 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/1.399, allocations: 13.81 kB / 1.375 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/1.399, allocations: 11.94 kB / 1.375 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/1.399, allocations: 237.7 kB / 1.375 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/1.401, allocations: 1.285 MB / 1.376 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/1.402, allocations: 211.2 kB / 1.376 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/1.402, allocations: 135.5 kB / 1.376 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/1.402, allocations: 4.234 kB / 1.376 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/1.402, allocations: 163.1 kB / 1.377 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/1.402, allocations: 0 / 1.377 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0004771/1.403, allocations: 242.3 kB / 1.377 GB, free: 9.973 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/1.403, allocations: 136.5 kB / 1.377 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/1.403, allocations: 345.7 kB / 1.377 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/1.403, allocations: 33.39 kB / 1.377 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/1.404, allocations: 217.5 kB / 1.377 GB, free: 9.348 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/1.404, allocations: 87.09 kB / 1.378 GB, free: 9.273 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/1.404, allocations: 6.188 kB / 1.378 GB, free: 9.273 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.404, allocations: 347.2 kB / 1.378 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/1.404, allocations: 89.44 kB / 1.378 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/1.404, allocations: 166.1 kB / 1.378 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/1.404, allocations: 114.2 kB / 1.378 GB, free: 8.676 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.404, allocations: 4 kB / 1.378 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005006/1.405, allocations: 314.5 kB / 1.379 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/1.405, allocations: 449 kB / 1.379 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.405, allocations: 0 / 1.379 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.405, allocations: 4 kB / 1.379 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/1.406, allocations: 75.27 kB / 1.379 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/1.406, allocations: 4 kB / 1.379 GB, free: 7.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/1.406, allocations: 69.95 kB / 1.379 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/1.406, allocations: 8 kB / 1.379 GB, free: 7.832 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/1.406, allocations: 4 kB / 1.379 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003936/1.406, allocations: 248.6 kB / 1.379 GB, free: 7.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/1.406, allocations: 0 / 1.379 GB, free: 7.672 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/1.406, allocations: 12.05 kB / 1.379 GB, free: 7.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.407, allocations: 59.48 kB / 1.379 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.407, allocations: 3.984 kB / 1.379 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/1.407, allocations: 46.8 kB / 1.38 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/1.407, allocations: 8 kB / 1.38 GB, free: 7.555 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.407, allocations: 119.9 kB / 1.38 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/1.407, allocations: 35.53 kB / 1.38 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/1.407, allocations: 267.3 kB / 1.38 GB, free: 7.215 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/1.408, allocations: 7.953 kB / 1.38 GB, free: 7.207 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.408, allocations: 0 / 1.38 GB, free: 7.207 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.408, allocations: 4 kB / 1.38 GB, free: 7.203 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/1.409, allocations: 1.036 MB / 1.381 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.409, allocations: 4 kB / 1.381 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/1.409, allocations: 62.78 kB / 1.381 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/1.409, allocations: 7.938 kB / 1.381 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/1.409, allocations: 16.06 kB / 1.381 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/1.409, allocations: 4 kB / 1.381 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.409, allocations: 4 kB / 1.381 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/1.41, allocations: 0.759 MB / 1.382 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.41, allocations: 135.4 kB / 1.382 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/1.41, allocations: 15.38 kB / 1.382 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/1.411, allocations: 27.77 kB / 1.382 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/1.411, allocations: 23.48 kB / 1.382 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/1.411, allocations: 19.8 kB / 1.382 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002946/1.411, allocations: 270.8 kB / 1.382 GB, free: 5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.41e-07/1.411, allocations: 0 / 1.382 GB, free: 5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005297/1.412, allocations: 121.3 kB / 1.382 GB, free: 4.895 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/1.413, allocations: 2.273 MB / 1.385 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006517/1.414, allocations: 385.2 kB / 1.385 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.414, allocations: 0 / 1.385 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/1.414, allocations: 108.1 kB / 1.385 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/1.415, allocations: 71.67 kB / 1.385 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/1.416, allocations: 0.6614 MB / 1.386 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/1.417, allocations: 0.8043 MB / 1.387 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002827/1.417, allocations: 63.45 kB / 1.387 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/1.417, allocations: 122.4 kB / 1.387 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of SimCode: time 1.082e-06/1.417, allocations: 0 / 1.387 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/1.441, allocations: 7.136 MB / 1.394 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/1.441, allocations: 183.5 kB / 1.394 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/3.729, allocations: 0 / 1.394 GB, free: 9.5 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat does not exist to compare? outputFormat=mat