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.007818/0.007818, allocations: 100.1 kB / 15.73 MB, free: 6.035 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.001399/0.001399, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.349/2.349, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 66.95 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2239, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002301/0.2263, allocations: 1.155 MB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.2281, allocations: 1.377 MB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.2282, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.454e-05/0.2283, allocations: 23.67 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.2284, allocations: 43.59 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.2292, allocations: 290.1 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000434/0.2297, allocations: 435.8 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.2299, allocations: 114.2 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.2301, allocations: 155.5 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.2303, allocations: 151.4 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.2303, allocations: 51.94 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.2305, allocations: 59.98 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.2305, allocations: 67.75 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.2307, allocations: 151.4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.2311, allocations: 494 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2312, allocations: 8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2312, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.2312, 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.0008968/0.2321, allocations: 0.6071 MB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.2321, allocations: 12.03 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.2322, allocations: 50.73 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/0.2323, allocations: 32.66 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.233, allocations: 327.8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.233, allocations: 24.3 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.2331, allocations: 31.94 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.2334, allocations: 169.6 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2334, allocations: 3.984 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.2334, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2334, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.2336, allocations: 115.9 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009733/0.2346, allocations: 0.6835 MB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.235, allocations: 166.8 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2352, allocations: 68.83 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2352, allocations: 7.938 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.2354, allocations: 129.2 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.2354, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004272/0.2359, allocations: 223 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2359, allocations: 63.34 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.2361, allocations: 210.9 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.2362, allocations: 41.69 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2363, allocations: 140.5 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.2363, allocations: 51.58 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.2365, allocations: 77.67 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2366, allocations: 326.8 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.2368, allocations: 99.95 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.237, allocations: 159.8 kB / 1.096 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.2373, allocations: 217.5 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2373, allocations: 0 / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005817/0.2379, allocations: 360.6 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.238, allocations: 71.33 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.238, allocations: 4 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.238, allocations: 4.031 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.2381, allocations: 23.92 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2381, allocations: 0 / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.2385, allocations: 83.8 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.2386, allocations: 23.98 kB / 1.096 GB, free: 8.559 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.0001465/0.2387, allocations: 154.8 kB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.2388, allocations: 19.75 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.2388, allocations: 25.86 kB / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2388, allocations: 4 kB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2389, allocations: 0 / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2389, allocations: 0 / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.2391, allocations: 301.3 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2391, allocations: 0 / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/0.2392, allocations: 15.98 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.2392, allocations: 0 / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2392, allocations: 8 kB / 1.097 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2393, allocations: 3.938 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2393, allocations: 0 / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.2395, allocations: 200.8 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.2396, allocations: 92.83 kB / 1.097 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.2397, allocations: 11.98 kB / 1.097 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.2397, allocations: 8 kB / 1.097 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.2398, allocations: 35.95 kB / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.2399, allocations: 7.984 kB / 1.097 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001113/0.24, allocations: 152.3 kB / 1.097 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.24, allocations: 0 / 1.097 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000301/0.2403, allocations: 63.84 kB / 1.097 GB, free: 7.383 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.0005887/0.2409, allocations: 0.7563 MB / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004914/0.2414, allocations: 351.6 kB / 1.098 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2414, allocations: 0 / 1.098 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.2415, allocations: 73.81 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.2418, allocations: 44 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.2447, allocations: 2.422 MB / 1.101 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.245, allocations: 0.7401 MB / 1.102 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.111e-05/0.2451, allocations: 25.95 kB / 1.102 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.2452, allocations: 75.41 kB / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2452, allocations: 0 / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.267, allocations: 5.454 MB / 1.107 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.785, allocations: 13.69 kB / 1.107 GB, free: 13.41 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)