Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.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.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",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.373/2.373, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001062/0.001062, allocations: 183 kB / 498.1 MB, free: 5.723 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.596/1.596, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009257/0.0009259, allocations: 102.5 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003745, allocations: 6.938 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2923, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.4753, allocations: 150.5 MB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4756, allocations: 83.94 kB / 1.37 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01381/0.4894, allocations: 5.548 MB / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.033e-06/0.4895, allocations: 0 / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.686e-05/0.4895, allocations: 8 kB / 1.375 GB, free: 5.781 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001224/0.4907, allocations: 0.6743 MB / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4908, allocations: 8.031 kB / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.4909, allocations: 86.52 kB / 1.376 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.4911, allocations: 47.44 kB / 1.376 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.4915, allocations: 323.1 kB / 1.377 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.4916, allocations: 29 kB / 1.377 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.4916, allocations: 44 kB / 1.377 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008663/0.4925, allocations: 386.5 kB / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4925, allocations: 0 / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.4926, allocations: 16 kB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4926, allocations: 15.98 kB / 1.377 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008609/0.4935, allocations: 359.7 kB / 1.377 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.4955, allocations: 1.232 MB / 1.379 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008357/0.4964, allocations: 342.2 kB / 1.379 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.4964, allocations: 4 kB / 1.379 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.4964, allocations: 34.5 kB / 1.379 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.4965, allocations: 0 / 1.379 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.001021/0.4975, allocations: 374.8 kB / 1.379 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.4975, allocations: 51.41 kB / 1.379 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.4981, allocations: 385 kB / 1.38 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.4981, allocations: 29.7 kB / 1.38 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.4983, allocations: 228.3 kB / 1.38 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.4984, allocations: 55.2 kB / 1.38 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.4984, allocations: 4 kB / 1.38 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4986, allocations: 350.8 kB / 1.38 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.4989, allocations: 115.9 kB / 1.38 GB, free: 424 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.4993, allocations: 152.2 kB / 1.381 GB, free: 256 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.4996, allocations: 118.1 kB / 1.381 GB, free: 140 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4996, allocations: 0 / 1.381 GB, free: 140 kB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007925/0.5004, allocations: 319.2 kB / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5004, allocations: 8 kB / 1.381 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5005, allocations: 0 / 1.381 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.5005, allocations: 0 / 1.381 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.5007, allocations: 55.91 kB / 1.381 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.5007, allocations: 0 / 1.381 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.501, allocations: 67.61 kB / 1.381 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.5011, allocations: 12 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occSen.y,$PRE.outAirSet_SinZon.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.not1.y,outAirSet_SinZon_noOccSen.not1.y,outAirSet_SinZon_noOccSen.and1.u2,outAirSet_SinZon.and1.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0002323/0.5013, allocations: 153.8 kB / 1.381 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.5014, allocations: 35.56 kB / 1.381 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.643e-05/0.5015, allocations: 47.7 kB / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5015, allocations: 0 / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5015, allocations: 0 / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.5015, allocations: 4 kB / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.5027, allocations: 0.7415 MB / 1.382 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5028, allocations: 0 / 1.382 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.503, allocations: 55.91 kB / 1.382 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.503, allocations: 3.938 kB / 1.382 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.503, allocations: 8 kB / 1.382 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.503, allocations: 0 / 1.382 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.503, allocations: 0 / 1.382 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.5037, allocations: 375.9 kB / 1.383 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.5039, allocations: 120.6 kB / 1.383 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.5039, allocations: 7.984 kB / 1.383 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.5042, allocations: 35.97 kB / 1.383 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.5043, allocations: 27.95 kB / 1.383 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.5043, allocations: 8 kB / 1.383 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003359/0.5046, allocations: 295.1 kB / 1.383 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5046, allocations: 0 / 1.383 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000311/0.505, allocations: 63.84 kB / 1.383 GB, free: 13.62 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001082/0.506, allocations: 0.9185 MB / 1.384 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007001/0.5068, allocations: 243.8 kB / 1.384 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5068, allocations: 7.938 kB / 1.384 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.5071, allocations: 117 kB / 1.384 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.5074, allocations: 33.44 kB / 1.384 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.5117, allocations: 2.464 MB / 1.387 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.5122, allocations: 0.7992 MB / 1.388 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.5124, allocations: 38.95 kB / 1.388 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.5126, allocations: 127.4 kB / 1.388 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of SimCode: time 1.633e-06/0.5126, allocations: 0 / 1.388 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.5338, allocations: 6.226 MB / 1.394 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.534, allocations: 227 kB / 1.394 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.593, allocations: 3.938 kB / 1.394 GB, free: 2.539 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat does not exist to compare? outputFormat=mat