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.004703/0.004703, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001098/0.001098, allocations: 197.3 kB / 16.68 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.178/2.178, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 0.9504 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7164, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003012/0.7194, allocations: 2.084 MB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.721, allocations: 1.177 MB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.7211, allocations: 2.75 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.7215, allocations: 90.39 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.7218, allocations: 93.92 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.7222, allocations: 194.9 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.7225, allocations: 319.4 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.7227, allocations: 125.3 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.7229, allocations: 138 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.7231, allocations: 136.9 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.687e-05/0.7231, allocations: 27.56 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.7233, allocations: 73.69 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-05/0.7234, allocations: 89.53 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.7235, allocations: 135 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.724, allocations: 454.6 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.724, allocations: 4 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/0.724, allocations: 0.8125 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.724, allocations: 0 / 1.092 GB, free: 2.074 MB / 0.8575 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.0008651/0.7249, allocations: 0.6161 MB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.7249, allocations: 9.719 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.725, allocations: 52.98 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.466e-05/0.725, allocations: 41.83 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.7254, allocations: 338.6 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.7255, allocations: 13.31 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.7255, allocations: 21.38 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.7259, allocations: 179.7 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7259, allocations: 0 / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.7259, allocations: 9.906 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7259, allocations: 4.312 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.7262, allocations: 121.8 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.7272, allocations: 0.6554 MB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.7276, allocations: 198.8 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.7278, allocations: 79.7 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.7278, allocations: 6.953 kB / 1.095 GB, free: 484 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.7281, allocations: 126.6 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.7281, allocations: 0 / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0005101/0.7286, allocations: 239.7 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.7286, allocations: 54.45 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.729, allocations: 359.2 kB / 1.095 GB, free: 48 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.729, allocations: 37.91 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.7292, allocations: 170.3 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.7292, allocations: 51.09 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.7294, allocations: 70.17 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7295, allocations: 339.5 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.7297, allocations: 88.64 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.7299, allocations: 144.1 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.7302, allocations: 150.2 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7302, allocations: 0.9688 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005032/0.7307, allocations: 264.1 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7307, allocations: 6.141 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7308, allocations: 0.7188 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.7308, allocations: 5.5 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.731, allocations: 41.27 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.731, allocations: 1.938 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.7312, allocations: 37.73 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.7312, allocations: 7.344 kB / 1.097 GB, free: 15.12 MB / 0.8731 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.0001668/0.7314, allocations: 173.5 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.7314, allocations: 28.2 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.7315, allocations: 39.25 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7315, allocations: 6.578 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7315, allocations: 5.062 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7315, allocations: 0.6094 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.7318, allocations: 324.8 kB / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7319, allocations: 0 / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.7319, allocations: 16.58 kB / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7319, allocations: 1.125 kB / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.732, allocations: 11.03 kB / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.732, allocations: 5.953 kB / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.732, allocations: 0 / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.7324, allocations: 209.3 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.7324, allocations: 100.5 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.7325, allocations: 11.92 kB / 1.098 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.7326, allocations: 16.44 kB / 1.098 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.7327, allocations: 33.19 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.7327, allocations: 10.73 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002489/0.733, allocations: 227 kB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.733, allocations: 0 / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003096/0.7333, allocations: 69.55 kB / 1.098 GB, free: 14.26 MB / 0.8731 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.001495/0.7348, allocations: 1.061 MB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.7353, allocations: 201.7 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7353, allocations: 0 / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.7354, allocations: 82.5 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.7358, allocations: 51.14 kB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.7391, allocations: 2.651 MB / 1.102 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.7395, allocations: 0.7759 MB / 1.103 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.7396, allocations: 40.72 kB / 1.103 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.7398, allocations: 100.2 kB / 1.103 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.7398, allocations: 0 / 1.103 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.772, allocations: 6.242 MB / 1.109 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.145/9.917, allocations: 34.61 kB / 1.109 GB, free: 10.09 MB / 0.8731 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)