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.227/2.227, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001023/0.001024, allocations: 176.8 kB / 487.4 MB, free: 5.066 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.831/1.831, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 95.72 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.196e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9469/1.206, allocations: 152.3 MB / 1.355 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.207, allocations: 77.03 kB / 1.355 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03898/1.246, allocations: 17.04 MB / 1.372 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.805e-06/1.246, allocations: 3.984 kB / 1.372 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.783e-05/1.246, allocations: 34.55 kB / 1.372 GB, free: 32.34 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.00175/1.247, allocations: 1.236 MB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.247, allocations: 11.53 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/1.248, allocations: 151.3 kB / 1.373 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008636/1.249, allocations: 0.6808 MB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/1.249, allocations: 53.38 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/1.249, allocations: 84.97 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001261/1.25, allocations: 0.8158 MB / 1.375 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/1.251, allocations: 0.8641 MB / 1.375 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.251, allocations: 0 / 1.375 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/1.252, allocations: 3.875 kB / 1.375 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/1.252, allocations: 30.94 kB / 1.375 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004029/1.256, allocations: 3.023 MB / 1.378 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/1.256, allocations: 0.4923 MB / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/1.257, allocations: 279.3 kB / 1.379 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/1.257, allocations: 11.78 kB / 1.379 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004835/1.257, allocations: 377.2 kB / 1.38 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=74): time 2.104e-06/1.257, allocations: 0 / 1.38 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74): time 0.0007627/1.258, allocations: 0.5045 MB / 1.38 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/1.258, allocations: 217.8 kB / 1.38 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/1.259, allocations: 475.5 kB / 1.381 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/1.259, allocations: 32.77 kB / 1.381 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/1.259, allocations: 0.5412 MB / 1.381 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/1.259, allocations: 231.4 kB / 1.381 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/1.259, allocations: 0 / 1.381 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.259, allocations: 373.5 kB / 1.382 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/1.26, allocations: 233.6 kB / 1.382 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/1.26, allocations: 331.4 kB / 1.382 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/1.26, allocations: 235.8 kB / 1.383 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.26, allocations: 0 / 1.383 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009372/1.261, allocations: 0.6534 MB / 1.383 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/1.261, allocations: 42.31 kB / 1.383 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.261, allocations: 0 / 1.383 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.261, allocations: 3.844 kB / 1.383 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/1.262, allocations: 129.9 kB / 1.383 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.262, allocations: 7.828 kB / 1.383 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/1.262, allocations: 143.4 kB / 1.384 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/1.263, allocations: 34.23 kB / 1.384 GB, free: 27.4 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.0001523/1.263, allocations: 123.5 kB / 1.384 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006498/1.263, allocations: 0.5012 MB / 1.384 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/1.263, allocations: 70.08 kB / 1.384 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007261/1.264, allocations: 0.5059 MB / 1.385 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.264, allocations: 7.75 kB / 1.385 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.264, allocations: 0 / 1.385 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.264, allocations: 3.984 kB / 1.385 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/1.266, allocations: 2.152 MB / 1.387 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.267, allocations: 7.906 kB / 1.387 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/1.267, allocations: 135.2 kB / 1.387 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.267, allocations: 12.12 kB / 1.387 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/1.267, allocations: 19.5 kB / 1.387 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.267, allocations: 19.52 kB / 1.387 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.267, allocations: 11.62 kB / 1.387 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009514/1.268, allocations: 1.2 MB / 1.388 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/1.268, allocations: 158.2 kB / 1.388 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/1.268, allocations: 22.73 kB / 1.388 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/1.269, allocations: 58.52 kB / 1.388 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.269, allocations: 93.05 kB / 1.389 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/1.269, allocations: 26.66 kB / 1.389 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003088/1.269, allocations: 317.5 kB / 1.389 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.269, allocations: 0 / 1.389 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006778/1.27, allocations: 232.9 kB / 1.389 GB, free: 24.55 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.002066/1.272, allocations: 3.843 MB / 1.393 GB, free: 21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009754/1.273, allocations: 0.6206 MB / 1.393 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.273, allocations: 3.844 kB / 1.393 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005846/1.274, allocations: 376 kB / 1.394 GB, free: 20.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/1.274, allocations: 83.41 kB / 1.394 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/1.277, allocations: 1.437 MB / 1.395 GB, free: 20.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/1.277, allocations: 1.087 MB / 1.396 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002998/1.278, allocations: 71.78 kB / 1.396 GB, free: 19.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/1.278, allocations: 417 kB / 1.397 GB, free: 19.05 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/1.278, allocations: 0 / 1.397 GB, free: 19.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/1.312, allocations: 12.88 MB / 1.409 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/1.312, allocations: 183.8 kB / 1.41 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/3.677, allocations: 0 / 1.41 GB, free: 12.8 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