Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.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.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",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.28/2.28, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001205/0.001205, allocations: 181.1 kB / 498.1 MB, free: 5.773 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.469/1.469, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009168/0.0009167, allocations: 98.83 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 10.44 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2593, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.432, allocations: 151.9 MB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4323, allocations: 79.94 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01972/0.452, allocations: 8.012 MB / 1.379 GB, free: 2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4521, allocations: 0 / 1.379 GB, free: 2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.968e-05/0.4521, allocations: 19.98 kB / 1.379 GB, free: 1.98 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001507/0.4536, allocations: 0.8651 MB / 1.38 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4537, allocations: 8.219 kB / 1.38 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.4538, allocations: 114.4 kB / 1.38 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.454, allocations: 87.02 kB / 1.38 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.4547, allocations: 479.5 kB / 1.381 GB, free: 352 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.4548, allocations: 53.25 kB / 1.381 GB, free: 300 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.4549, allocations: 64 kB / 1.381 GB, free: 236 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.4559, allocations: 0.5805 MB / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4559, allocations: 0 / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.456, allocations: 28 kB / 1.381 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.456, allocations: 20 kB / 1.381 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009948/0.457, allocations: 0.5283 MB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.4597, allocations: 1.746 MB / 1.384 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009621/0.4607, allocations: 415.9 kB / 1.384 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.4608, allocations: 11.92 kB / 1.384 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.4608, allocations: 42.56 kB / 1.384 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=35): time 1.774e-06/0.4608, allocations: 0 / 1.384 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.001166/0.462, allocations: 0.5526 MB / 1.385 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.462, allocations: 55.41 kB / 1.385 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.4626, allocations: 0.5256 MB / 1.385 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.4626, allocations: 37.7 kB / 1.385 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.4628, allocations: 304.1 kB / 1.386 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-05/0.4629, allocations: 118.3 kB / 1.386 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.463, allocations: 8 kB / 1.386 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4631, allocations: 374.8 kB / 1.386 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.4635, allocations: 176.8 kB / 1.386 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.4639, allocations: 246.3 kB / 1.386 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.4643, allocations: 205.5 kB / 1.387 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4643, allocations: 0 / 1.387 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009477/0.4652, allocations: 0.5285 MB / 1.387 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.4654, allocations: 365 kB / 1.388 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4655, allocations: 0 / 1.388 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4655, allocations: 7.953 kB / 1.388 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.4659, allocations: 95.88 kB / 1.388 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.4659, allocations: 7.938 kB / 1.388 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.4663, allocations: 87.25 kB / 1.388 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.4663, allocations: 16 kB / 1.388 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.4664, allocations: 4 kB / 1.388 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008102/0.4672, allocations: 420.9 kB / 1.388 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.4672, allocations: 7.938 kB / 1.388 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-06/0.4672, allocations: 0 / 1.388 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.4676, allocations: 99.83 kB / 1.388 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4676, allocations: 8.047 kB / 1.388 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.4679, allocations: 71.27 kB / 1.388 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.468, allocations: 16 kB / 1.388 GB, free: 8.406 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y,setPoiVAV.y1SupFan) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 53 * 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.0002774/0.4682, allocations: 261 kB / 1.389 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/0.4683, allocations: 63.2 kB / 1.389 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009572/0.4693, allocations: 485.1 kB / 1.389 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4693, allocations: 4 kB / 1.389 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4693, allocations: 0 / 1.389 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.4694, allocations: 4 kB / 1.389 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.4712, allocations: 1.26 MB / 1.39 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.4712, allocations: 4 kB / 1.39 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.4715, allocations: 71.89 kB / 1.39 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4715, allocations: 8 kB / 1.39 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.4716, allocations: 12.22 kB / 1.39 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.4716, allocations: 11.88 kB / 1.39 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.4716, allocations: 11.94 kB / 1.39 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.4729, allocations: 0.9565 MB / 1.391 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.4731, allocations: 152.3 kB / 1.392 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.4731, allocations: 16 kB / 1.392 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.4735, allocations: 52.02 kB / 1.392 GB, free: 4.762 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.4736, allocations: 39.84 kB / 1.392 GB, free: 4.723 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.4737, allocations: 16.05 kB / 1.392 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004475/0.4741, allocations: 422.8 kB / 1.392 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4741, allocations: 0 / 1.392 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000569/0.4747, allocations: 179.6 kB / 1.392 GB, free: 4.121 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 1 (setPoiVAV.ramLim.y) * Number of discrete variables: 2 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Number of discrete states: 2 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * 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.001942/0.4766, allocations: 2.496 MB / 1.395 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.478, allocations: 0.6421 MB / 1.395 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.478, allocations: 0 / 1.395 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.4784, allocations: 200.6 kB / 1.395 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.4789, allocations: 102.9 kB / 1.396 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.4843, allocations: 3.859 MB / 1.399 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.4847, allocations: 0.8748 MB / 1.4 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003381/0.485, allocations: 80.73 kB / 1.4 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.4853, allocations: 219.4 kB / 1.4 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of SimCode: time 1.462e-06/0.4854, allocations: 0 / 1.4 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.5084, allocations: 10.51 MB / 1.411 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.5086, allocations: 217.2 kB / 1.411 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.684, allocations: 4 kB / 1.411 GB, free: 0.9102 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T_res.mat does not exist to compare? outputFormat=mat