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.259/2.259, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.0009859/0.0009859, allocations: 184.9 kB / 492.3 MB, free: 0.5938 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.635/1.635, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009229/0.0009231, allocations: 98 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.431e-05/4.443e-05, allocations: 0 / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3388, allocations: 142.3 MB / 1.213 GB, free: 38.35 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.51, allocations: 153 MB / 1.362 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.51, allocations: 74.44 kB / 1.362 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04368/1.554, allocations: 17.17 MB / 1.379 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.845e-06/1.554, allocations: 3.844 kB / 1.379 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001393/1.554, allocations: 31.03 kB / 1.379 GB, free: 31.95 MB / 0.8386 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.003501/1.558, allocations: 1.244 MB / 1.38 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/1.558, allocations: 7.625 kB / 1.38 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006907/1.559, allocations: 205 kB / 1.38 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006121/1.559, allocations: 155.3 kB / 1.38 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/1.561, allocations: 0.6794 MB / 1.381 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/1.561, allocations: 112 kB / 1.381 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/1.562, allocations: 145 kB / 1.381 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/1.564, allocations: 1.071 MB / 1.382 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/1.564, allocations: 3.875 kB / 1.382 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/1.564, allocations: 63.03 kB / 1.382 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/1.565, allocations: 34.47 kB / 1.382 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/1.567, allocations: 0.8777 MB / 1.383 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007145/1.574, allocations: 3.395 MB / 1.387 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/1.575, allocations: 0.5329 MB / 1.387 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/1.575, allocations: 305.2 kB / 1.387 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/1.576, allocations: 12.3 kB / 1.387 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006333/1.576, allocations: 393.7 kB / 1.388 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=74): time 5.54e-06/1.576, allocations: 3.906 kB / 1.388 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74): time 0.001269/1.577, allocations: 0.5829 MB / 1.388 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.578, allocations: 213.8 kB / 1.389 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.579, allocations: 0.8672 MB / 1.389 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/1.579, allocations: 43.77 kB / 1.389 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/1.58, allocations: 0.5182 MB / 1.39 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/1.58, allocations: 234.4 kB / 1.39 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/1.58, allocations: 17.47 kB / 1.39 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.58, allocations: 337.5 kB / 1.391 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/1.581, allocations: 248.7 kB / 1.391 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/1.581, allocations: 354.8 kB / 1.391 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/1.582, allocations: 277 kB / 1.391 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.582, allocations: 0 / 1.391 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001355/1.583, allocations: 0.7637 MB / 1.392 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.972e-05/1.583, allocations: 41.02 kB / 1.392 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.583, allocations: 3.938 kB / 1.392 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/1.583, allocations: 7.781 kB / 1.392 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/1.584, allocations: 134.4 kB / 1.392 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/1.584, allocations: 3.812 kB / 1.392 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008523/1.585, allocations: 220 kB / 1.393 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/1.585, allocations: 26.69 kB / 1.393 GB, free: 26.7 MB / 0.8386 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.0002116/1.585, allocations: 155.5 kB / 1.393 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/1.585, allocations: 105 kB / 1.393 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/1.586, allocations: 0.6023 MB / 1.393 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/1.586, allocations: 11.62 kB / 1.393 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.586, allocations: 0 / 1.393 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.586, allocations: 3.984 kB / 1.393 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/1.59, allocations: 2.41 MB / 1.396 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.59, allocations: 7.688 kB / 1.396 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/1.59, allocations: 141.8 kB / 1.396 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.261e-05/1.59, allocations: 11.09 kB / 1.396 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/1.59, allocations: 22.84 kB / 1.396 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/1.59, allocations: 16.05 kB / 1.396 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.59, allocations: 15.59 kB / 1.396 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/1.592, allocations: 1.29 MB / 1.397 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/1.592, allocations: 211.1 kB / 1.397 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/1.592, allocations: 32.33 kB / 1.397 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/1.593, allocations: 67.8 kB / 1.398 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/1.593, allocations: 100.7 kB / 1.398 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/1.593, allocations: 27.16 kB / 1.398 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001089/1.594, allocations: 0.6416 MB / 1.398 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.594, allocations: 0 / 1.398 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009436/1.595, allocations: 209.5 kB / 1.398 GB, free: 23.76 MB / 0.8386 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.002913/1.598, allocations: 3.95 MB / 1.402 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001262/1.599, allocations: 0.6656 MB / 1.403 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.599, allocations: 4.125 kB / 1.403 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007212/1.6, allocations: 400.9 kB / 1.403 GB, free: 20.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008136/1.601, allocations: 128.8 kB / 1.403 GB, free: 20 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/1.605, allocations: 1.548 MB / 1.405 GB, free: 19.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008601/1.606, allocations: 1.088 MB / 1.406 GB, free: 18.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000547/1.606, allocations: 112.3 kB / 1.406 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/1.607, allocations: 446.4 kB / 1.407 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of SimCode: time 2.074e-06/1.607, allocations: 0 / 1.407 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04383/1.651, allocations: 17.48 MB / 1.424 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.651, allocations: 212 kB / 1.424 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/4.107, allocations: 0 / 1.424 GB, free: 1.02 MB / 0.8386 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