Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001051/0.001051, allocations: 108 kB / 15.61 MB, free: 152 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.0009716/0.0009716, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.529/2.529, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 70.31 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.234, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002298/0.2363, allocations: 1.157 MB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.2379, allocations: 1.388 MB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.2381, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.9e-05/0.2382, allocations: 27.67 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2383, allocations: 39.64 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.239, allocations: 288.2 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.2393, allocations: 427.9 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.2396, allocations: 112.2 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.2397, allocations: 159.5 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.2399, allocations: 147.4 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.24, allocations: 44 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.2401, allocations: 59.98 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.2402, allocations: 59.72 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.2403, allocations: 159.3 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.2407, allocations: 474.9 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2407, allocations: 4 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2407, allocations: 0 / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.2407, allocations: 0 / 1.068 GB, free: 9.992 MB / 0.8262 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.0007682/0.2415, allocations: 0.6149 MB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2416, allocations: 12.03 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.2416, allocations: 50.73 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.2417, allocations: 28.66 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.2423, allocations: 331.8 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.2424, allocations: 24.36 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.2424, allocations: 32.25 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.2427, allocations: 173.6 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2427, allocations: 4 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.2427, allocations: 8 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2427, allocations: 4 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.2429, allocations: 115.9 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008741/0.2438, allocations: 0.6913 MB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.2442, allocations: 164.1 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2443, allocations: 68.83 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.2443, allocations: 4.281 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.2445, allocations: 136.8 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.2445, allocations: 0 / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0003967/0.2449, allocations: 219.2 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.245, allocations: 63.41 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.2452, allocations: 218.8 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.2452, allocations: 37.7 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.2453, allocations: 140.5 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.2454, allocations: 55.28 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2455, allocations: 77.67 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.2456, allocations: 326.8 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.2458, allocations: 95.95 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.246, allocations: 169.2 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.2463, allocations: 212.5 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2463, allocations: 0 / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005207/0.2468, allocations: 354 kB / 1.072 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.2469, allocations: 71.27 kB / 1.072 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2469, allocations: 0 / 1.072 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2469, allocations: 4 kB / 1.072 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.247, allocations: 19.98 kB / 1.072 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.247, allocations: 4 kB / 1.072 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.2474, allocations: 83.8 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2474, allocations: 15.92 kB / 1.073 GB, free: 5.113 MB / 0.8262 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.0001305/0.2475, allocations: 152.1 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.2476, allocations: 27.75 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.2476, allocations: 25.86 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2476, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2477, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2477, allocations: 4 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.2479, allocations: 285.4 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2479, allocations: 8 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.248, allocations: 19.92 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.248, allocations: 3.938 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.248, allocations: 7.938 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.248, allocations: 11.98 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.248, allocations: 0 / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.2483, allocations: 190.6 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.2483, allocations: 104.7 kB / 1.073 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.2484, allocations: 7.984 kB / 1.073 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.2485, allocations: 15.98 kB / 1.073 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.2485, allocations: 35.91 kB / 1.073 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.2486, allocations: 11.98 kB / 1.073 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001014/0.2487, allocations: 148.4 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2487, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002775/0.249, allocations: 55.84 kB / 1.074 GB, free: 3.93 MB / 0.8262 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.0005095/0.2495, allocations: 0.7533 MB / 1.074 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004627/0.2499, allocations: 350 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.25, allocations: 0 / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.2501, allocations: 79.84 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.2504, allocations: 40.02 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.253, allocations: 2.435 MB / 1.077 GB, free: 112 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.2533, allocations: 0.7402 MB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.241e-05/0.2534, allocations: 25.97 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2536, allocations: 79.41 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.2536, allocations: 7.938 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.2749, allocations: 5.399 MB / 1.083 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/7.152, allocations: 10.61 kB / 1.083 GB, free: 9.984 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1)