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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009909, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003495, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8679/0.8683, allocations: 142.3 MB / 0.9539 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002442/0.8708, allocations: 1.73 MB / 0.9556 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.8727, allocations: 1.076 MB / 0.9566 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.873, allocations: 6 kB / 0.9566 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.8734, allocations: 79.66 kB / 0.9567 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.8737, allocations: 70.23 kB / 0.9568 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.8742, allocations: 144.5 kB / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.8746, allocations: 282.7 kB / 0.9572 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.8749, allocations: 82.92 kB / 0.9573 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.8751, allocations: 105.7 kB / 0.9574 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.8753, allocations: 99.3 kB / 0.9575 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.8753, allocations: 7.781 kB / 0.9575 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.8755, allocations: 43.17 kB / 0.9575 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.8756, allocations: 66.08 kB / 0.9576 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.8756, allocations: 63.17 kB / 0.9576 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.876, allocations: 354.1 kB / 0.958 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.876, allocations: 0 / 0.958 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.876, allocations: 0 / 0.958 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.876, allocations: 0 / 0.958 GB, free: 5.055 MB / 0.7169 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.0009517/0.877, allocations: 0.5783 MB / 0.9585 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.877, allocations: 9.625 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.765e-05/0.8771, allocations: 55.98 kB / 0.9586 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/0.8772, allocations: 40.08 kB / 0.9586 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.8777, allocations: 327.1 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.8777, allocations: 16.47 kB / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.8778, allocations: 17.81 kB / 0.959 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.8781, allocations: 179.1 kB / 0.9592 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8781, allocations: 0 / 0.9592 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.8782, allocations: 6.625 kB / 0.9592 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.8782, allocations: 7.234 kB / 0.9592 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.8784, allocations: 132.7 kB / 0.9593 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.8795, allocations: 0.6736 MB / 0.96 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.8799, allocations: 185.4 kB / 0.9601 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.88, allocations: 87.31 kB / 0.9602 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.8801, allocations: 2.75 kB / 0.9602 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.8803, allocations: 124.3 kB / 0.9603 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.8803, allocations: 0 / 0.9603 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005075/0.8809, allocations: 241 kB / 0.9606 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.8809, allocations: 53.53 kB / 0.9606 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.8813, allocations: 359.1 kB / 0.961 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.8814, allocations: 36.73 kB / 0.961 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.8815, allocations: 172.9 kB / 0.9612 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.8815, allocations: 47.25 kB / 0.9612 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/0.8816, allocations: 5 kB / 0.9612 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.8816, allocations: 338.3 kB / 0.9615 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.8818, allocations: 94.08 kB / 0.9616 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.882, allocations: 141.3 kB / 0.9618 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.8822, allocations: 74.91 kB / 0.9618 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8822, allocations: 3.984 kB / 0.9618 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004514/0.8827, allocations: 260.9 kB / 0.9621 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.8827, allocations: 15.48 kB / 0.9621 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.8827, allocations: 1.125 kB / 0.9621 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.8827, allocations: 1.156 kB / 0.9621 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.8829, allocations: 40.27 kB / 0.9621 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.8829, allocations: 1.281 kB / 0.9621 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.8831, allocations: 43.03 kB / 0.9622 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.8832, allocations: 10.41 kB / 0.9622 GB, free: 1.773 MB / 0.7169 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.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked 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.0001766/0.8833, allocations: 172.3 kB / 0.9624 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.8834, allocations: 27.34 kB / 0.9624 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.763e-05/0.8835, allocations: 36.52 kB / 0.9624 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.8835, allocations: 2.25 kB / 0.9624 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.8835, allocations: 0 / 0.9624 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.8835, allocations: 0 / 0.9624 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.8838, allocations: 321.7 kB / 0.9627 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8838, allocations: 4.719 kB / 0.9627 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.8839, allocations: 13.16 kB / 0.9627 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.8839, allocations: 0.9688 kB / 0.9627 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.8839, allocations: 10.48 kB / 0.9628 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8839, allocations: 7.891 kB / 0.9628 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8839, allocations: 1.281 kB / 0.9628 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.8843, allocations: 208.5 kB / 0.963 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.8843, allocations: 109.8 kB / 0.9631 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.8844, allocations: 18.44 kB / 0.9631 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.8845, allocations: 22.48 kB / 0.9631 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.8846, allocations: 37.61 kB / 0.9631 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.8846, allocations: 4.781 kB / 0.9631 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002238/0.8849, allocations: 227.9 kB / 0.9634 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8849, allocations: 0 / 0.9634 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000319/0.8852, allocations: 59.97 kB / 0.9634 GB, free: 0.8008 MB / 0.7169 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.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.001404/0.8866, allocations: 1.067 MB / 0.9645 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.887, allocations: 194.6 kB / 0.9646 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.887, allocations: 0 / 0.9646 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.8872, allocations: 81.75 kB / 0.9647 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.8875, allocations: 46.38 kB / 0.9648 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.8906, allocations: 1.694 MB / 0.9664 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.891, allocations: 0.7725 MB / 0.9672 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.8912, allocations: 42.58 kB / 0.9672 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.8914, allocations: 103.7 kB / 0.9673 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.8914, allocations: 0.7812 kB / 0.9673 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.913, allocations: 6.024 MB / 0.9732 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.9133, allocations: 261.5 kB / 0.9735 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.856, allocations: 3.781 kB / 0.9735 GB, free: 10.84 MB / 0.7325 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