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.Validation.ZoneState.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.Validation.ZoneState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",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.236/2.236, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001426/0.001425, allocations: 176.9 kB / 492.3 MB, free: 0.5898 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.744/1.744, allocations: 221.3 MB / 0.7871 GB, free: 12.85 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.0008982/0.0008982, allocations: 87.47 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.422e-05, allocations: 6.266 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3485, allocations: 142.3 MB / 1.213 GB, free: 38.33 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.994/1.343, allocations: 154 MB / 1.363 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/1.343, allocations: 86.3 kB / 1.363 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0207/1.363, allocations: 8.534 MB / 1.371 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.383e-06/1.364, allocations: 4 kB / 1.371 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.479e-05/1.364, allocations: 7.688 kB / 1.371 GB, free: 34.39 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006812/1.364, allocations: 0.5459 MB / 1.372 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.364, allocations: 11.22 kB / 1.372 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/1.364, allocations: 50.36 kB / 1.372 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/1.364, allocations: 38.17 kB / 1.372 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/1.365, allocations: 331.1 kB / 1.372 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/1.365, allocations: 15.03 kB / 1.372 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/1.365, allocations: 21.34 kB / 1.372 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/1.365, allocations: 183.3 kB / 1.373 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.365, allocations: 0 / 1.373 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/1.365, allocations: 3.25 kB / 1.373 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/1.365, allocations: 3.844 kB / 1.373 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/1.366, allocations: 138.9 kB / 1.373 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/1.367, allocations: 0.6789 MB / 1.373 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/1.367, allocations: 197.3 kB / 1.374 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/1.367, allocations: 84.7 kB / 1.374 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/1.367, allocations: 3.875 kB / 1.374 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/1.367, allocations: 140.5 kB / 1.374 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/1.367, allocations: 0 / 1.374 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0003398/1.368, allocations: 185.1 kB / 1.374 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/1.368, allocations: 59.28 kB / 1.374 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/1.368, allocations: 334.6 kB / 1.374 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/1.368, allocations: 32.55 kB / 1.374 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/1.368, allocations: 171.6 kB / 1.375 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/1.368, allocations: 40.44 kB / 1.375 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/1.368, allocations: 3.125 kB / 1.375 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/1.368, allocations: 342.3 kB / 1.375 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/1.369, allocations: 100 kB / 1.375 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/1.369, allocations: 151.9 kB / 1.375 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/1.369, allocations: 100.1 kB / 1.375 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.369, allocations: 0 / 1.375 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003649/1.369, allocations: 287.4 kB / 1.375 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.369, allocations: 7.656 kB / 1.375 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.369, allocations: 0 / 1.375 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.369, allocations: 4.031 kB / 1.375 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/1.37, allocations: 43.62 kB / 1.376 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.37, allocations: 0 / 1.376 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/1.37, allocations: 42.38 kB / 1.376 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/1.37, allocations: 15.12 kB / 1.376 GB, free: 32.4 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 9.085e-05/1.37, allocations: 120.3 kB / 1.376 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/1.37, allocations: 25.7 kB / 1.376 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/1.37, allocations: 219.7 kB / 1.376 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.37, allocations: 0 / 1.376 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.37, allocations: 2.578 kB / 1.376 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.37, allocations: 3.984 kB / 1.376 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/1.371, allocations: 339.9 kB / 1.376 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.371, allocations: 3.938 kB / 1.376 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/1.371, allocations: 24.95 kB / 1.376 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.371, allocations: 3.812 kB / 1.376 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/1.371, allocations: 3.047 kB / 1.376 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/1.371, allocations: 3.938 kB / 1.376 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.371, allocations: 0 / 1.376 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/1.371, allocations: 232.2 kB / 1.377 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/1.371, allocations: 106.9 kB / 1.377 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/1.371, allocations: 7.625 kB / 1.377 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/1.371, allocations: 21.3 kB / 1.377 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/1.371, allocations: 34.09 kB / 1.377 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/1.371, allocations: 13.53 kB / 1.377 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001865/1.371, allocations: 226.5 kB / 1.377 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.372, allocations: 0 / 1.377 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002873/1.372, allocations: 82.56 kB / 1.377 GB, free: 31.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001236/1.373, allocations: 1.055 MB / 1.378 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003265/1.373, allocations: 194.2 kB / 1.378 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.373, allocations: 0 / 1.378 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/1.374, allocations: 90.34 kB / 1.378 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/1.374, allocations: 54.28 kB / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008107/1.375, allocations: 464.7 kB / 1.379 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/1.375, allocations: 0.7868 MB / 1.38 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001178/1.375, allocations: 38.25 kB / 1.38 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/1.375, allocations: 101.8 kB / 1.38 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.375, allocations: 0 / 1.38 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/1.391, allocations: 6.144 MB / 1.386 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/1.391, allocations: 224.8 kB / 1.386 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/3.389, allocations: 0 / 1.386 GB, free: 27.79 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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.Validation.ZoneState_res.mat does not exist to compare? outputFormat=mat