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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.091/2.091, allocations: 390.2 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.8127 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5038, allocations: 140.4 MB / 0.9498 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002862/0.5067, allocations: 2.076 MB / 0.9518 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.5082, allocations: 1.171 MB / 0.953 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.5084, allocations: 6.875 kB / 0.953 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.5087, allocations: 92.73 kB / 0.953 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.509, allocations: 87.2 kB / 0.9531 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.5094, allocations: 195.3 kB / 0.9533 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.5096, allocations: 323.1 kB / 0.9536 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.5098, allocations: 117.7 kB / 0.9537 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.51, allocations: 127.3 kB / 0.9539 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.5101, allocations: 143.1 kB / 0.954 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.5102, allocations: 28.5 kB / 0.954 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.5103, allocations: 70.75 kB / 0.9541 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.5104, allocations: 89.81 kB / 0.9542 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.5105, allocations: 144.4 kB / 0.9543 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.5108, allocations: 438.1 kB / 0.9547 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5108, allocations: 1.25 kB / 0.9547 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5108, allocations: 0 / 0.9547 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.5109, allocations: 0 / 0.9547 GB, free: 5.578 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.0007862/0.5117, allocations: 0.6265 MB / 0.9553 GB, free: 5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.5117, allocations: 14.31 kB / 0.9554 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.5117, allocations: 52.31 kB / 0.9554 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.5118, allocations: 34.78 kB / 0.9554 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.5121, allocations: 334.9 kB / 0.9558 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.5122, allocations: 12.41 kB / 0.9558 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.5122, allocations: 24.98 kB / 0.9558 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.5125, allocations: 176.6 kB / 0.956 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.5125, allocations: 1.125 kB / 0.956 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.5125, allocations: 9.719 kB / 0.956 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5125, allocations: 8.219 kB / 0.956 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.5127, allocations: 125.1 kB / 0.9561 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.5135, allocations: 0.66 MB / 0.9567 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.5139, allocations: 190.6 kB / 0.9569 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.514, allocations: 85.17 kB / 0.957 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.514, allocations: 2.562 kB / 0.957 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.5142, allocations: 125.9 kB / 0.9571 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.532e-06/0.5142, allocations: 0 / 0.9571 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0004315/0.5147, allocations: 242.8 kB / 0.9574 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.5147, allocations: 53.66 kB / 0.9574 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.515, allocations: 364.8 kB / 0.9578 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.5151, allocations: 32.95 kB / 0.9578 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.5151, allocations: 172.6 kB / 0.958 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.5152, allocations: 47.16 kB / 0.958 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.5153, allocations: 65.19 kB / 0.9581 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.5153, allocations: 339.1 kB / 0.9584 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.5155, allocations: 94.34 kB / 0.9585 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.5157, allocations: 143.5 kB / 0.9586 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.5159, allocations: 147.2 kB / 0.9588 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5159, allocations: 0 / 0.9588 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003788/0.5163, allocations: 270.5 kB / 0.959 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5163, allocations: 9.156 kB / 0.959 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5163, allocations: 0 / 0.959 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5163, allocations: 5.688 kB / 0.959 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.5165, allocations: 36.75 kB / 0.9591 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5165, allocations: 8.891 kB / 0.9591 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.5166, allocations: 35.72 kB / 0.9591 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.5167, allocations: 6.719 kB / 0.9591 GB, free: 2.168 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 ($PRE.uHeaCoo.tab.nextTimeEvent,$whenCondition1,uHeaCoo.tab.nextTimeEventScaled,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEvent,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.5168, allocations: 172.4 kB / 0.9593 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.5168, allocations: 23.38 kB / 0.9593 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.5169, allocations: 40.12 kB / 0.9593 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5169, allocations: 1.812 kB / 0.9593 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5169, allocations: 1.125 kB / 0.9593 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5169, allocations: 3.938 kB / 0.9593 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.5171, allocations: 325.9 kB / 0.9597 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5171, allocations: 0 / 0.9597 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.5172, allocations: 12.59 kB / 0.9597 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5172, allocations: 9.391 kB / 0.9597 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.5172, allocations: 9.438 kB / 0.9597 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5172, allocations: 1.5 kB / 0.9597 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5172, allocations: 0 / 0.9597 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.5175, allocations: 215.5 kB / 0.9599 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.5176, allocations: 102.5 kB / 0.96 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.5176, allocations: 14.7 kB / 0.96 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/0.5177, allocations: 20.89 kB / 0.96 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.5178, allocations: 30.17 kB / 0.96 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.5178, allocations: 11.88 kB / 0.9601 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001766/0.518, allocations: 226.5 kB / 0.9603 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.518, allocations: 0 / 0.9603 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002621/0.5183, allocations: 63.98 kB / 0.9603 GB, free: 1.191 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.5194, allocations: 1.062 MB / 0.9614 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.5198, allocations: 208.2 kB / 0.9616 GB, free: 324 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5198, allocations: 0 / 0.9616 GB, free: 324 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.5199, allocations: 85.12 kB / 0.9617 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.5202, allocations: 58.92 kB / 0.9617 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.523, allocations: 2.666 MB / 0.9643 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.5233, allocations: 0.7716 MB / 0.9651 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.5234, allocations: 42.3 kB / 0.9651 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.5235, allocations: 97.39 kB / 0.9652 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of SimCode: time 1.8e-07/0.5235, allocations: 0 / 0.9652 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.5454, allocations: 6.179 MB / 0.9712 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.717/7.263, allocations: 14.8 kB / 0.9712 GB, free: 10.47 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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)