Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",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.293/2.293, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001602/0.001602, allocations: 183.3 kB / 498.1 MB, free: 5.668 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.516/1.516, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.0009442/0.0009443, allocations: 88.3 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 10.34 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3152, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/0.5109, allocations: 153.1 MB / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5112, allocations: 79.95 kB / 1.373 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0449/0.5562, allocations: 17.2 MB / 1.389 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.835e-06/0.5562, allocations: 0 / 1.389 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001326/0.5564, allocations: 28 kB / 1.389 GB, free: 7.477 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.003407/0.5598, allocations: 1.326 MB / 1.391 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5599, allocations: 8.031 kB / 1.391 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005116/0.5604, allocations: 207.1 kB / 1.391 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004722/0.5609, allocations: 154.2 kB / 1.391 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.5624, allocations: 0.6705 MB / 1.392 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.5626, allocations: 114.8 kB / 1.392 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/0.5628, allocations: 144 kB / 1.392 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.5654, allocations: 1.115 MB / 1.393 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.5654, allocations: 0 / 1.393 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.5655, allocations: 56 kB / 1.393 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.5656, allocations: 36 kB / 1.393 GB, free: 3.527 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.5676, allocations: 0.9599 MB / 1.394 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006549/0.5742, allocations: 3.409 MB / 1.397 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.5754, allocations: 0.5688 MB / 1.398 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.917e-05/0.5755, allocations: 12.66 kB / 1.398 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008827/0.5764, allocations: 419.5 kB / 1.398 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=74): time 5.43e-06/0.5764, allocations: 0 / 1.398 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=74): time 0.001862/0.5783, allocations: 0.853 MB / 1.399 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.5784, allocations: 218.2 kB / 1.399 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.5797, allocations: 0.8757 MB / 1.4 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-05/0.5798, allocations: 45.7 kB / 1.4 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.5803, allocations: 0.5161 MB / 1.401 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.5806, allocations: 240.5 kB / 1.401 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.5806, allocations: 20 kB / 1.401 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5808, allocations: 345.8 kB / 1.401 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/0.5814, allocations: 277.9 kB / 1.402 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/0.5821, allocations: 386.5 kB / 1.402 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.5827, allocations: 304.7 kB / 1.402 GB, free: 9.887 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5827, allocations: 4 kB / 1.402 GB, free: 9.883 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001611/0.5844, allocations: 0.8261 MB / 1.403 GB, free: 9.043 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.5844, allocations: 38.94 kB / 1.403 GB, free: 9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5844, allocations: 0 / 1.403 GB, free: 9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.5845, allocations: 4 kB / 1.403 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.585, allocations: 135.8 kB / 1.403 GB, free: 8.863 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.585, allocations: 4 kB / 1.403 GB, free: 8.859 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/0.5858, allocations: 214.5 kB / 1.403 GB, free: 8.648 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.337e-05/0.5859, allocations: 27.98 kB / 1.404 GB, free: 8.621 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,actAirSet_RehBox.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * 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.0004672/0.5863, allocations: 272.3 kB / 1.404 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.5865, allocations: 106.7 kB / 1.404 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.5878, allocations: 0.6537 MB / 1.405 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.5878, allocations: 8 kB / 1.405 GB, free: 7.559 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5879, allocations: 0 / 1.405 GB, free: 7.559 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.5879, allocations: 7.984 kB / 1.405 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.5913, allocations: 2.452 MB / 1.407 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.5914, allocations: 8 kB / 1.407 GB, free: 4.941 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.5919, allocations: 139.9 kB / 1.407 GB, free: 4.805 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.677e-05/0.5919, allocations: 16.55 kB / 1.407 GB, free: 4.789 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.592, allocations: 24 kB / 1.407 GB, free: 4.766 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.592, allocations: 12 kB / 1.407 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.592, allocations: 15.88 kB / 1.407 GB, free: 4.738 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.5937, allocations: 1.358 MB / 1.408 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.594, allocations: 211.6 kB / 1.409 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.5942, allocations: 31.98 kB / 1.409 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.5947, allocations: 75.91 kB / 1.409 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.5949, allocations: 92.16 kB / 1.409 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.5949, allocations: 28 kB / 1.409 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009582/0.5959, allocations: 0.6537 MB / 1.41 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.51e-07/0.5959, allocations: 0 / 1.41 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008109/0.5967, allocations: 215.5 kB / 1.41 GB, free: 1.777 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.003116/0.5998, allocations: 3.995 MB / 1.414 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.6014, allocations: 0.7314 MB / 1.414 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6014, allocations: 0 / 1.414 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000865/0.6023, allocations: 427.4 kB / 1.415 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.603, allocations: 124.7 kB / 1.415 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/0.6082, allocations: 3.319 MB / 1.418 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008431/0.6091, allocations: 1.085 MB / 1.419 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004237/0.6095, allocations: 115.3 kB / 1.419 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006064/0.6102, allocations: 443.3 kB / 1.42 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/0.6102, allocations: 0 / 1.42 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5784/1.189, allocations: 17.19 MB / 1.436 GB, free: 187 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/1.189, allocations: 231 kB / 1.437 GB, free: 186.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.719, allocations: 1.562 kB / 1.437 GB, free: 186.8 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat