Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.23/1.23, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 188.3 kB / 316 MB, free: 3.488 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.094/1.094, allocations: 205.2 MB / 0.5667 GB, free: 15.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008972/0.0008972, allocations: 87.28 kB / 0.671 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.829e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1519, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.619/3.771, allocations: 2.473 GB / 3.357 GB, free: 263.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/3.772, allocations: 87.95 kB / 3.357 GB, free: 263.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.651/5.422, allocations: 0.6157 GB / 3.973 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001774/5.422, allocations: 58.42 kB / 3.973 GB, free: 164.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003809/5.426, allocations: 2.651 MB / 3.976 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/5.426, allocations: 7.719 kB / 3.976 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/5.428, allocations: 474.2 kB / 3.976 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005149/5.433, allocations: 2.659 MB / 3.979 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/5.433, allocations: 102.3 kB / 3.979 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/5.433, allocations: 85.59 kB / 3.979 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001614/5.435, allocations: 1.066 MB / 3.98 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/5.437, allocations: 1.245 MB / 3.981 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/5.437, allocations: 0 / 3.981 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/5.437, allocations: 3.688 kB / 3.981 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/5.437, allocations: 49.28 kB / 3.981 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006924/5.444, allocations: 6.334 MB / 3.988 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009335/5.445, allocations: 0.6497 MB / 3.988 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/5.445, allocations: 0.5819 MB / 3.989 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003655/5.446, allocations: 308.5 kB / 3.989 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007292/5.447, allocations: 0.5797 MB / 3.99 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=113): time 3.326e-06/5.447, allocations: 3.312 kB / 3.99 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=113): time 0.002618/5.449, allocations: 1.389 MB / 3.991 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/5.449, allocations: 65.56 kB / 3.991 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004272/5.454, allocations: 3.362 MB / 3.994 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.654e-05/5.454, allocations: 32.98 kB / 3.994 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/5.454, allocations: 0.6516 MB / 3.995 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/5.454, allocations: 358.8 kB / 3.995 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/5.454, allocations: 0 / 3.995 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.256e-05/5.455, allocations: 352.8 kB / 3.996 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/5.455, allocations: 424.9 kB / 3.996 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/5.456, allocations: 0.665 MB / 3.997 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008965/5.457, allocations: 0.5413 MB / 3.997 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/5.457, allocations: 3.938 kB / 3.997 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002346/5.459, allocations: 1.574 MB / 3.999 GB, free: 158 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/5.459, allocations: 3.875 kB / 3.999 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/5.459, allocations: 7.719 kB / 3.999 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/5.46, allocations: 217.5 kB / 3.999 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008701/5.46, allocations: 255.9 kB / 3.999 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/5.464, allocations: 3.969 MB / 4.003 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/5.465, allocations: 172.6 kB / 4.003 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-05/5.465, allocations: 52.34 kB / 4.003 GB, free: 155.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002229/5.465, allocations: 152.2 kB / 4.003 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/5.466, allocations: 268.8 kB / 4.004 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/5.468, allocations: 1.503 MB / 4.005 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/5.468, allocations: 14.88 kB / 4.005 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/5.468, allocations: 3.188 kB / 4.005 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001765/5.47, allocations: 1.293 MB / 4.006 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/5.477, allocations: 3.819 MB / 4.01 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/5.477, allocations: 3.562 kB / 4.01 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000795/5.477, allocations: 186.8 kB / 4.01 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/5.478, allocations: 205.3 kB / 4.011 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/5.478, allocations: 25.09 kB / 4.011 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/5.481, allocations: 3.967 MB / 4.014 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/5.481, allocations: 3.375 kB / 4.014 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003273/5.484, allocations: 2.303 MB / 4.017 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/5.486, allocations: 0.6301 MB / 4.017 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005237/5.486, allocations: 19.7 kB / 4.017 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/5.487, allocations: 89.59 kB / 4.017 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/5.488, allocations: 95.64 kB / 4.018 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.959e-05/5.488, allocations: 44.09 kB / 4.018 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.003795/5.491, allocations: 2.633 MB / 4.02 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002377/5.494, allocations: 0.7086 MB / 4.021 GB, free: 150.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002465/5.496, allocations: 1.798 MB / 4.023 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002048/5.498, allocations: 1.318 MB / 4.024 GB, free: 150 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/5.498, allocations: 0 / 4.024 GB, free: 150 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/5.5, allocations: 0.8066 MB / 4.025 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/5.502, allocations: 0.5009 MB / 4.025 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008888/5.511, allocations: 4.978 MB / 4.03 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/5.514, allocations: 2.099 MB / 4.032 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of SimCode: time 8.72e-07/5.514, allocations: 0 / 4.032 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.05175/5.565, allocations: 34.36 MB / 4.066 GB, free: 147.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches