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.164/2.164, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001243/0.001244, allocations: 180.8 kB / 496.1 MB, free: 12.88 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.502/1.502, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.0009728/0.0009728, allocations: 99.59 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.402e-05/4.425e-05, allocations: 1.875 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2793, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9429/1.222, allocations: 155.5 MB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/1.223, allocations: 81.25 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04077/1.263, allocations: 17.5 MB / 1.388 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.153e-06/1.263, allocations: 4 kB / 1.388 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.851e-05/1.263, allocations: 35.98 kB / 1.388 GB, free: 15.61 MB / 0.8542 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.001737/1.265, allocations: 1.22 MB / 1.389 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/1.265, allocations: 16.03 kB / 1.389 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001921/1.265, allocations: 206.5 kB / 1.389 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/1.266, allocations: 162 kB / 1.39 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009465/1.267, allocations: 0.6655 MB / 1.39 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/1.267, allocations: 119.5 kB / 1.39 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/1.267, allocations: 144 kB / 1.39 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/1.269, allocations: 1.069 MB / 1.391 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/1.269, allocations: 4 kB / 1.391 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/1.269, allocations: 55.69 kB / 1.392 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/1.269, allocations: 32 kB / 1.392 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/1.27, allocations: 0.8861 MB / 1.392 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004506/1.275, allocations: 3.399 MB / 1.396 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/1.276, allocations: 0.5385 MB / 1.396 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/1.276, allocations: 297.2 kB / 1.397 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/1.276, allocations: 8.781 kB / 1.397 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005516/1.277, allocations: 393.2 kB / 1.397 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=74): time 2.414e-06/1.277, allocations: 0 / 1.397 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74): time 0.0008894/1.277, allocations: 0.5869 MB / 1.398 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/1.278, allocations: 214.2 kB / 1.398 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/1.278, allocations: 0.8613 MB / 1.399 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/1.279, allocations: 47.58 kB / 1.399 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/1.279, allocations: 0.5205 MB / 1.399 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/1.279, allocations: 243.4 kB / 1.399 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/1.279, allocations: 14.31 kB / 1.399 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.279, allocations: 344 kB / 1.4 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/1.28, allocations: 247.5 kB / 1.4 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/1.28, allocations: 348.9 kB / 1.4 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/1.281, allocations: 280 kB / 1.401 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.281, allocations: 3.938 kB / 1.401 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001086/1.282, allocations: 0.7617 MB / 1.401 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/1.282, allocations: 40.69 kB / 1.401 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/1.282, allocations: 0 / 1.401 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.282, allocations: 4 kB / 1.401 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/1.282, allocations: 129.9 kB / 1.401 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.282, allocations: 4 kB / 1.401 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/1.283, allocations: 214.7 kB / 1.402 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/1.283, allocations: 30.92 kB / 1.402 GB, free: 4.914 MB / 0.8542 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 () * 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.0001498/1.283, allocations: 159.2 kB / 1.402 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/1.283, allocations: 106.7 kB / 1.402 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009176/1.284, allocations: 0.5918 MB / 1.403 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.284, allocations: 11.98 kB / 1.403 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.284, allocations: 4 kB / 1.403 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.284, allocations: 3.984 kB / 1.403 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/1.287, allocations: 2.414 MB / 1.405 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/1.287, allocations: 12.94 kB / 1.405 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/1.287, allocations: 139.5 kB / 1.405 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/1.287, allocations: 12 kB / 1.405 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/1.287, allocations: 27.67 kB / 1.405 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.287, allocations: 15.94 kB / 1.405 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.653e-05/1.287, allocations: 15.89 kB / 1.405 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/1.289, allocations: 1.281 MB / 1.406 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/1.289, allocations: 211.1 kB / 1.407 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/1.289, allocations: 32.61 kB / 1.407 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/1.289, allocations: 69.22 kB / 1.407 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.289, allocations: 92.59 kB / 1.407 GB, free: 452 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/1.29, allocations: 34.61 kB / 1.407 GB, free: 424 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007033/1.29, allocations: 0.645 MB / 1.407 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.29, allocations: 4 kB / 1.407 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005823/1.291, allocations: 211.8 kB / 1.408 GB, free: 15.75 MB / 0.8698 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) * 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.002109/1.293, allocations: 3.943 MB / 1.411 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009956/1.294, allocations: 0.6743 MB / 1.412 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.294, allocations: 0 / 1.412 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006383/1.295, allocations: 402.2 kB / 1.412 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/1.295, allocations: 125.8 kB / 1.413 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/1.298, allocations: 1.543 MB / 1.414 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/1.299, allocations: 1.081 MB / 1.415 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003636/1.299, allocations: 111.3 kB / 1.415 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/1.3, allocations: 448.1 kB / 1.416 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/1.3, allocations: 0 / 1.416 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/1.332, allocations: 17.51 MB / 1.433 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/1.332, allocations: 214.2 kB / 1.433 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.578, allocations: 0 / 1.433 GB, free: 6.574 MB / 0.8855 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