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.304/2.304, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001015/0.001015, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.515/1.515, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009928/0.0009927, allocations: 106.8 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.442e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2854, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9828/1.268, allocations: 153.4 MB / 1.356 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/1.269, allocations: 82.53 kB / 1.356 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02051/1.289, allocations: 8.485 MB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/1.289, allocations: 0 / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.962e-05/1.289, allocations: 3.719 kB / 1.364 GB, free: 33.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.000657/1.29, allocations: 0.5542 MB / 1.365 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/1.29, allocations: 11.19 kB / 1.365 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/1.29, allocations: 30.72 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/1.29, allocations: 325 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/1.29, allocations: 7.688 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/1.29, allocations: 11.66 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000209/1.291, allocations: 127.5 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/1.291, allocations: 155.2 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.291, allocations: 0 / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/1.291, allocations: 4 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.291, allocations: 3.875 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/1.292, allocations: 0.6347 MB / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/1.292, allocations: 183.6 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/1.292, allocations: 81.25 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/1.292, allocations: 0 / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/1.292, allocations: 136.6 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/1.292, allocations: 0 / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0003017/1.293, allocations: 173.5 kB / 1.367 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/1.293, allocations: 63.2 kB / 1.367 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/1.293, allocations: 320.6 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/1.293, allocations: 28.89 kB / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/1.293, allocations: 167.5 kB / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/1.293, allocations: 44.22 kB / 1.367 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/1.293, allocations: 0 / 1.367 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.293, allocations: 341.1 kB / 1.368 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/1.294, allocations: 91.62 kB / 1.368 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/1.294, allocations: 143.9 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/1.294, allocations: 107.6 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.294, allocations: 0 / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003808/1.294, allocations: 282.2 kB / 1.368 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.294, allocations: 7.812 kB / 1.368 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.294, allocations: 7.906 kB / 1.368 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.294, allocations: 0 / 1.368 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/1.295, allocations: 37.03 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/1.295, allocations: 3.875 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/1.295, allocations: 36.75 kB / 1.368 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/1.295, allocations: 10.31 kB / 1.368 GB, free: 31.47 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 0.0001079/1.295, allocations: 126.1 kB / 1.368 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002143/1.295, allocations: 178.4 kB / 1.369 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/1.295, allocations: 23.41 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/1.295, allocations: 201.9 kB / 1.369 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/1.295, allocations: 3.875 kB / 1.369 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.295, allocations: 0 / 1.369 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.295, allocations: 2.719 kB / 1.369 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/1.296, allocations: 305.9 kB / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.296, allocations: 0 / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/1.296, allocations: 17.95 kB / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.296, allocations: 0 / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/1.296, allocations: 10.58 kB / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.296, allocations: 0 / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.296, allocations: 0 / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/1.296, allocations: 216.3 kB / 1.369 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/1.296, allocations: 110.5 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/1.296, allocations: 3.312 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/1.296, allocations: 18.69 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/1.296, allocations: 33.53 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/1.296, allocations: 10.75 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001804/1.297, allocations: 218.1 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.297, allocations: 0 / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000283/1.297, allocations: 72.75 kB / 1.37 GB, free: 30.77 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.001165/1.298, allocations: 1.016 MB / 1.371 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002557/1.298, allocations: 188.6 kB / 1.371 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.298, allocations: 0 / 1.371 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/1.298, allocations: 91.78 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/1.299, allocations: 42.8 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/1.299, allocations: 450.2 kB / 1.371 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/1.3, allocations: 0.7825 MB / 1.372 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001147/1.3, allocations: 38.02 kB / 1.372 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.3, allocations: 102.4 kB / 1.372 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.3, allocations: 4 kB / 1.372 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/1.323, allocations: 5.593 MB / 1.378 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/1.324, allocations: 205.4 kB / 1.378 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.231, allocations: 0 / 1.378 GB, free: 28.21 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