Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001076/0.001076, allocations: 173.2 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009297/0.0009297, allocations: 98.52 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 14.06 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3026, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.4957, allocations: 149.7 MB / 1.369 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.496, allocations: 75.95 kB / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004951/0.501, allocations: 1.823 MB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.464e-06/0.501, allocations: 0 / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.5011, allocations: 0 / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006905/0.5018, allocations: 431.1 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.5018, allocations: 8.031 kB / 1.371 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.057e-05/0.5019, allocations: 46.55 kB / 1.372 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.502, allocations: 15.81 kB / 1.372 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.5022, allocations: 220.3 kB / 1.372 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.5023, allocations: 8.234 kB / 1.372 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.5023, allocations: 12 kB / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.5026, allocations: 142.3 kB / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5027, allocations: 0 / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.5027, allocations: 0 / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.5027, allocations: 4 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.503, allocations: 132.5 kB / 1.372 GB, free: 9.273 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009101/0.5039, allocations: 0.5049 MB / 1.373 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.5042, allocations: 90.52 kB / 1.373 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.5042, allocations: 4 kB / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.5043, allocations: 34.56 kB / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.5043, allocations: 0 / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0005238/0.5048, allocations: 153.7 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.5049, allocations: 59.36 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.5051, allocations: 178.5 kB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.5051, allocations: 25.7 kB / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.5053, allocations: 116 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.5053, allocations: 27.86 kB / 1.373 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.5053, allocations: 4 kB / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5055, allocations: 330.8 kB / 1.373 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.5056, allocations: 39.97 kB / 1.374 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.5058, allocations: 57.7 kB / 1.374 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.5059, allocations: 43.97 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5059, allocations: 0 / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002994/0.5062, allocations: 129.5 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5063, allocations: 4 kB / 1.374 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5063, allocations: 0 / 1.374 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5063, allocations: 4 kB / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.5064, allocations: 15.98 kB / 1.374 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5064, allocations: 0 / 1.374 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.5066, allocations: 32.12 kB / 1.374 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.5066, allocations: 4 kB / 1.374 GB, free: 7.309 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001129/0.5067, allocations: 129.8 kB / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.5068, allocations: 15.83 kB / 1.374 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/0.5072, allocations: 142.9 kB / 1.374 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5072, allocations: 7.984 kB / 1.374 GB, free: 7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5072, allocations: 4 kB / 1.374 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5072, allocations: 0 / 1.374 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.5078, allocations: 435.2 kB / 1.375 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5078, allocations: 0 / 1.375 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.508, allocations: 19.98 kB / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.508, allocations: 4 kB / 1.375 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.508, allocations: 0 / 1.375 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.508, allocations: 3.938 kB / 1.375 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.508, allocations: 3.953 kB / 1.375 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.5084, allocations: 241.9 kB / 1.375 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.5084, allocations: 89.02 kB / 1.375 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.5085, allocations: 3.984 kB / 1.375 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.5086, allocations: 27.94 kB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.5087, allocations: 11.98 kB / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5087, allocations: 0 / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001239/0.5088, allocations: 144.1 kB / 1.375 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5088, allocations: 0 / 1.375 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002354/0.5091, allocations: 20 kB / 1.375 GB, free: 5.91 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0007473/0.5098, allocations: 0.8536 MB / 1.376 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.5102, allocations: 100.5 kB / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5102, allocations: 0 / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.5103, allocations: 56.02 kB / 1.376 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.5107, allocations: 24.17 kB / 1.376 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.5123, allocations: 0.8501 MB / 1.377 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.5126, allocations: 0.7162 MB / 1.378 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.855e-05/0.5127, allocations: 12.64 kB / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.5128, allocations: 43.42 kB / 1.378 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.5128, allocations: 0 / 1.378 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.529, allocations: 2.932 MB / 1.381 GB, free: 452 kB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.5293, allocations: 224.5 kB / 1.381 GB, free: 212 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.171, allocations: 0 / 1.381 GB, free: 212 kB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat does not exist to compare? outputFormat=mat