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.001246/0.001246, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001277/0.001277, allocations: 177.3 kB / 15.94 MB, free: 228 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.469 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.475/2.475, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003929, allocations: 15.94 kB / 0.8147 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8155/0.8159, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002244/0.8182, allocations: 1.73 MB / 0.9553 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.8197, allocations: 1.065 MB / 0.9564 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.8199, allocations: 7.062 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.8202, allocations: 74.95 kB / 0.9564 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.8204, allocations: 74.14 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.8208, allocations: 146.6 kB / 0.9567 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.821, allocations: 176.6 kB / 0.9568 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.8213, allocations: 91.64 kB / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.8214, allocations: 99.83 kB / 0.957 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.8216, allocations: 97.41 kB / 0.9571 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.8216, allocations: 7.094 kB / 0.9571 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.8217, allocations: 47.55 kB / 0.9572 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.921e-05/0.8218, allocations: 61.59 kB / 0.9572 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.8219, allocations: 70.45 kB / 0.9573 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.8222, allocations: 347.1 kB / 0.9576 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.8222, allocations: 0 / 0.9576 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8222, allocations: 0 / 0.9576 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8222, allocations: 4 kB / 0.9576 GB, free: 5.023 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.0007344/0.823, allocations: 0.5718 MB / 0.9582 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.823, allocations: 10.72 kB / 0.9582 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.8231, allocations: 55.91 kB / 0.9582 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.8231, allocations: 40.05 kB / 0.9583 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.8235, allocations: 327.7 kB / 0.9586 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.8235, allocations: 20.19 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.8236, allocations: 17.62 kB / 0.9586 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.8239, allocations: 173.7 kB / 0.9588 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8239, allocations: 1.281 kB / 0.9588 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.8239, allocations: 5.031 kB / 0.9588 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.8239, allocations: 8.141 kB / 0.9588 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.8242, allocations: 132 kB / 0.9589 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009066/0.8251, allocations: 0.6703 MB / 0.9596 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.8255, allocations: 192.4 kB / 0.9598 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.8255, allocations: 3 kB / 0.9598 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.8257, allocations: 121.7 kB / 0.9599 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.175e-06/0.8257, allocations: 1 kB / 0.9599 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0004433/0.8262, allocations: 243.8 kB / 0.9601 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.8262, allocations: 58.14 kB / 0.9602 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.8265, allocations: 355 kB / 0.9605 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.8266, allocations: 32.98 kB / 0.9605 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.8267, allocations: 164.8 kB / 0.9607 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.8267, allocations: 55.31 kB / 0.9608 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.8267, allocations: 4.969 kB / 0.9608 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.751e-05/0.8268, allocations: 338.8 kB / 0.9611 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.827, allocations: 97.69 kB / 0.9612 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.8272, allocations: 135.4 kB / 0.9613 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.8273, allocations: 83.64 kB / 0.9614 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8273, allocations: 0 / 0.9614 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004044/0.8277, allocations: 256.8 kB / 0.9616 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8277, allocations: 10.2 kB / 0.9616 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.8278, allocations: 11.95 kB / 0.9616 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8278, allocations: 5.375 kB / 0.9617 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.8279, allocations: 36.14 kB / 0.9617 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8279, allocations: 2.406 kB / 0.9617 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.8281, allocations: 41.34 kB / 0.9617 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.8281, allocations: 7.781 kB / 0.9617 GB, free: 1.793 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.0001287/0.8283, allocations: 171.8 kB / 0.9619 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.8283, allocations: 27.53 kB / 0.9619 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/0.8284, allocations: 40.08 kB / 0.962 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.8284, allocations: 2.406 kB / 0.962 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.8284, allocations: 4 kB / 0.962 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.8284, allocations: 1.125 kB / 0.962 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.8286, allocations: 317.7 kB / 0.9623 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8286, allocations: 4 kB / 0.9623 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.8287, allocations: 20.89 kB / 0.9623 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8287, allocations: 1 kB / 0.9623 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.8288, allocations: 6.094 kB / 0.9623 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.8288, allocations: 5.359 kB / 0.9623 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8288, allocations: 0 / 0.9623 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.8291, allocations: 209.9 kB / 0.9625 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.8291, allocations: 106.8 kB / 0.9626 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.8292, allocations: 10.44 kB / 0.9626 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.8293, allocations: 25.08 kB / 0.9626 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.8294, allocations: 42.05 kB / 0.9627 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.8294, allocations: 8.953 kB / 0.9627 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001927/0.8296, allocations: 228.2 kB / 0.9629 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8296, allocations: 0 / 0.9629 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002844/0.8299, allocations: 63.34 kB / 0.963 GB, free: 0.8125 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.001244/0.8312, allocations: 1.059 MB / 0.964 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.8315, allocations: 200 kB / 0.9642 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8316, allocations: 0 / 0.9642 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.8317, allocations: 76.14 kB / 0.9643 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.832, allocations: 60.47 kB / 0.9643 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.8331, allocations: 0.9516 MB / 0.9653 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.8334, allocations: 0.7848 MB / 0.966 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000113/0.8335, allocations: 39.27 kB / 0.9661 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.8337, allocations: 96.11 kB / 0.9662 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.8337, allocations: 4 kB / 0.9662 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.8506, allocations: 5.877 MB / 0.9719 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.8509, allocations: 256.4 kB / 0.9721 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.771, allocations: 2.344 kB / 0.9721 GB, free: 11.17 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