Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 2.311/2.311, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001165/0.001165, allocations: 180 kB / 0.4901 GB, free: 2.258 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.537/1.537, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.001281/0.001281, allocations: 98.17 kB / 0.9396 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004026, allocations: 9.359 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3062, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.5088, allocations: 155.6 MB / 1.381 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.5091, allocations: 83.94 kB / 1.381 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0432/0.5523, allocations: 17.53 MB / 1.398 GB, free: 7.953 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.975e-06/0.5523, allocations: 0 / 1.398 GB, free: 7.953 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001082/0.5525, allocations: 32 kB / 1.398 GB, free: 7.922 MB / 0.9011 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.003271/0.5557, allocations: 1.319 MB / 1.4 GB, free: 6.543 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.5558, allocations: 12.56 kB / 1.4 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004681/0.5563, allocations: 207.1 kB / 1.4 GB, free: 6.32 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/0.5567, allocations: 154.2 kB / 1.4 GB, free: 6.168 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.5581, allocations: 0.6782 MB / 1.401 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.5583, allocations: 114.8 kB / 1.401 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.5585, allocations: 144 kB / 1.401 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.5609, allocations: 1.115 MB / 1.402 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.5609, allocations: 0 / 1.402 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.561, allocations: 63.94 kB / 1.402 GB, free: 3.996 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.5611, allocations: 36 kB / 1.402 GB, free: 3.961 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.5629, allocations: 0.9521 MB / 1.403 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.678/1.241, allocations: 3.397 MB / 1.406 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.243, allocations: 0.5668 MB / 1.407 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.487e-05/1.243, allocations: 10.59 kB / 1.407 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/1.244, allocations: 426.8 kB / 1.407 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=74): time 2.555e-06/1.244, allocations: 1 kB / 1.407 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=74): time 0.002231/1.246, allocations: 0.8559 MB / 1.408 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/1.246, allocations: 217.4 kB / 1.408 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/1.248, allocations: 0.8768 MB / 1.409 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.779e-05/1.248, allocations: 44.56 kB / 1.409 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/1.248, allocations: 0.5127 MB / 1.41 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/1.249, allocations: 245.7 kB / 1.41 GB, free: 161 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/1.249, allocations: 15.5 kB / 1.41 GB, free: 161 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.249, allocations: 337.9 kB / 1.41 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/1.249, allocations: 284.3 kB / 1.411 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/1.25, allocations: 383.4 kB / 1.411 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/1.251, allocations: 303.7 kB / 1.411 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.251, allocations: 3.781 kB / 1.411 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001761/1.252, allocations: 0.8291 MB / 1.412 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/1.253, allocations: 42.19 kB / 1.412 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.253, allocations: 1.094 kB / 1.412 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/1.253, allocations: 3.781 kB / 1.412 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/1.253, allocations: 135.5 kB / 1.412 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/1.253, allocations: 5.406 kB / 1.412 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008881/1.254, allocations: 208.6 kB / 1.413 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/1.254, allocations: 28.23 kB / 1.413 GB, free: 160.4 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.000532/1.255, allocations: 272 kB / 1.413 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/1.255, allocations: 106.1 kB / 1.413 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/1.256, allocations: 0.6507 MB / 1.414 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.256, allocations: 8.641 kB / 1.414 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/1.256, allocations: 1.797 kB / 1.414 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.256, allocations: 4.359 kB / 1.414 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003972/1.26, allocations: 2.461 MB / 1.416 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/1.26, allocations: 8.906 kB / 1.416 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/1.261, allocations: 135.2 kB / 1.416 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.376e-05/1.261, allocations: 17.06 kB / 1.416 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/1.261, allocations: 24.25 kB / 1.416 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-05/1.261, allocations: 14.88 kB / 1.416 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/1.261, allocations: 10.44 kB / 1.416 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/1.263, allocations: 1.35 MB / 1.418 GB, free: 158.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/1.263, allocations: 220.5 kB / 1.418 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/1.264, allocations: 27.33 kB / 1.418 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/1.264, allocations: 73.36 kB / 1.418 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/1.264, allocations: 96.17 kB / 1.418 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/1.264, allocations: 30.69 kB / 1.418 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00108/1.265, allocations: 0.6528 MB / 1.419 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.61e-07/1.265, allocations: 0.9688 kB / 1.419 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009374/1.266, allocations: 214.3 kB / 1.419 GB, free: 158.1 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.002625/1.269, allocations: 3.994 MB / 1.423 GB, free: 154.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001686/1.271, allocations: 0.7275 MB / 1.423 GB, free: 154.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.271, allocations: 1.594 kB / 1.423 GB, free: 154.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009218/1.272, allocations: 434.6 kB / 1.424 GB, free: 154.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/1.272, allocations: 118.5 kB / 1.424 GB, free: 154.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/1.277, allocations: 3.319 MB / 1.427 GB, free: 152.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008538/1.278, allocations: 1.086 MB / 1.428 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004903/1.278, allocations: 109.5 kB / 1.428 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/1.279, allocations: 444.7 kB / 1.429 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of SimCode: time 2.225e-06/1.279, allocations: 0 / 1.429 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06429/1.343, allocations: 17.23 MB / 1.446 GB, free: 150.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/1.343, allocations: 252.3 kB / 1.446 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.889, allocations: 0 / 1.446 GB, free: 150.1 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat