Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",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.007876/0.007876, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001948/0.001948, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.323/2.323, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.27 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3049, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003609/0.3086, allocations: 1.157 MB / 1.089 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002617/0.3112, allocations: 1.37 MB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.3114, allocations: 4 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.642e-05/0.3115, allocations: 23.67 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.3117, allocations: 47.59 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3128, allocations: 301.8 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006234/0.3134, allocations: 427.8 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.3138, allocations: 120.2 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.314, allocations: 151.5 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.3143, allocations: 159.3 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.3144, allocations: 44 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3146, allocations: 67.97 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.3147, allocations: 59.78 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.3149, allocations: 163.3 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007474/0.3157, allocations: 494.5 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3157, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3157, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.3157, allocations: 0 / 1.092 GB, free: 13.43 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001242/0.317, allocations: 0.6109 MB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.3171, allocations: 12.03 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.747e-05/0.3171, allocations: 54.73 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.3173, allocations: 32.78 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009835/0.3183, allocations: 324 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.3183, allocations: 24.31 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.3184, allocations: 31.94 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.3189, allocations: 173.5 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3189, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.319, allocations: 8 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.319, allocations: 7.938 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.3194, allocations: 112 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.3209, allocations: 0.6836 MB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.3215, allocations: 162.8 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3217, allocations: 68.83 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3218, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000403/0.3222, allocations: 143.3 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.3222, allocations: 3.938 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0006998/0.3229, allocations: 219 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.323, allocations: 59.34 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.3233, allocations: 210.9 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.717e-05/0.3234, allocations: 37.7 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3235, allocations: 152.8 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.3236, allocations: 55.62 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.3239, allocations: 77.67 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.324, allocations: 330.8 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.3244, allocations: 99.95 kB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.3248, allocations: 159.8 kB / 1.096 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.3252, allocations: 221.3 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3253, allocations: 0 / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009592/0.3262, allocations: 356 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.155e-05/0.3263, allocations: 73.02 kB / 1.096 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3263, allocations: 0 / 1.096 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3264, allocations: 4 kB / 1.096 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3265, allocations: 23.92 kB / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.3265, allocations: 4 kB / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.3272, allocations: 71.81 kB / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.3273, allocations: 23.98 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0002495/0.3275, allocations: 147.5 kB / 1.097 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.3276, allocations: 27.8 kB / 1.097 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.817e-05/0.3277, allocations: 25.86 kB / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3277, allocations: 0 / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3277, allocations: 0 / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3277, allocations: 0 / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.3281, allocations: 305.4 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3282, allocations: 0 / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3283, allocations: 15.94 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.3283, allocations: 4 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.3283, allocations: 7.984 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3283, allocations: 0 / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3284, allocations: 4 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.3288, allocations: 194.9 kB / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.3289, allocations: 112.8 kB / 1.097 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.329, allocations: 4 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3291, allocations: 15.98 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.3293, allocations: 31.95 kB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3293, allocations: 8 kB / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001925/0.3295, allocations: 152.3 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3295, allocations: 0 / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005375/0.3301, allocations: 55.89 kB / 1.097 GB, free: 7.363 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * 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 (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.0008932/0.331, allocations: 0.7548 MB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008357/0.3318, allocations: 339.7 kB / 1.098 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3319, allocations: 256 / 1.098 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.3321, allocations: 87.91 kB / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.3326, allocations: 35.75 kB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.3375, allocations: 2.439 MB / 1.101 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.3379, allocations: 0.7402 MB / 1.102 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.3381, allocations: 29.94 kB / 1.102 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.3383, allocations: 71.41 kB / 1.102 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.3383, allocations: 0 / 1.102 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/0.3776, allocations: 5.444 MB / 1.107 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.13, allocations: 12.33 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_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_ThermalZones_Validation_ZoneStates.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1)