Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,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.RoomWithoutLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,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.RoomWithoutLatentGain") [: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.223/1.223, allocations: 249.4 MB / 256.7 MB, free: 7.066 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.00107/0.00107, allocations: 181.3 kB / 316 MB, free: 3.547 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.118/1.118, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0008994/0.0008994, allocations: 89.52 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.3e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1556, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.619/3.774, allocations: 2.473 GB / 3.357 GB, free: 278.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/3.775, allocations: 83.95 kB / 3.357 GB, free: 278.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.639/5.413, allocations: 0.6158 GB / 3.973 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001741/5.413, allocations: 60.12 kB / 3.973 GB, free: 162.9 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004149/5.418, allocations: 2.658 MB / 3.976 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/5.418, allocations: 8.875 kB / 3.976 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/5.419, allocations: 470.3 kB / 3.976 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/5.425, allocations: 2.66 MB / 3.979 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/5.425, allocations: 102.4 kB / 3.979 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/5.425, allocations: 79.94 kB / 3.979 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001684/5.427, allocations: 1.067 MB / 3.98 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/5.429, allocations: 1.25 MB / 3.981 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/5.429, allocations: 3.656 kB / 3.981 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/5.429, allocations: 3.891 kB / 3.981 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/5.429, allocations: 48.7 kB / 3.981 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006977/5.436, allocations: 6.324 MB / 3.988 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009302/5.437, allocations: 0.6474 MB / 3.988 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007179/5.438, allocations: 0.5863 MB / 3.989 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003642/5.438, allocations: 302.9 kB / 3.989 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007311/5.439, allocations: 0.5664 MB / 3.99 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=112): time 3.617e-06/5.439, allocations: 0 / 3.99 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112): time 0.002586/5.441, allocations: 1.38 MB / 3.991 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/5.441, allocations: 67.45 kB / 3.991 GB, free: 158 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/5.445, allocations: 3.37 MB / 3.994 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/5.446, allocations: 35.66 kB / 3.994 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/5.446, allocations: 0.6537 MB / 3.995 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/5.446, allocations: 355.7 kB / 3.995 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/5.446, allocations: 0 / 3.995 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.517e-05/5.446, allocations: 356 kB / 3.996 GB, free: 157 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/5.447, allocations: 424.3 kB / 3.996 GB, free: 157 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/5.448, allocations: 0.6555 MB / 3.997 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008468/5.449, allocations: 0.5401 MB / 3.997 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/5.449, allocations: 3.375 kB / 3.997 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00223/5.451, allocations: 1.564 MB / 3.999 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/5.451, allocations: 7.688 kB / 3.999 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/5.451, allocations: 6.25 kB / 3.999 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/5.451, allocations: 226.9 kB / 3.999 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008593/5.452, allocations: 245.5 kB / 3.999 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/5.455, allocations: 3.98 MB / 4.003 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/5.456, allocations: 172.2 kB / 4.003 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/5.457, allocations: 46.98 kB / 4.003 GB, free: 153.9 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.0001855/5.457, allocations: 154.5 kB / 4.004 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/5.457, allocations: 267.3 kB / 4.004 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/5.459, allocations: 1.499 MB / 4.005 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/5.459, allocations: 18 kB / 4.005 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/5.459, allocations: 3.75 kB / 4.005 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001674/5.461, allocations: 1.277 MB / 4.007 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/5.466, allocations: 3.814 MB / 4.01 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/5.466, allocations: 7.609 kB / 4.01 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/5.467, allocations: 179 kB / 4.01 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004733/5.468, allocations: 206.4 kB / 4.011 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/5.468, allocations: 17.77 kB / 4.011 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/5.471, allocations: 3.977 MB / 4.015 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/5.471, allocations: 0 / 4.015 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002769/5.473, allocations: 2.285 MB / 4.017 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000932/5.474, allocations: 0.6237 MB / 4.017 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/5.475, allocations: 16.64 kB / 4.017 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/5.476, allocations: 106.2 kB / 4.017 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/5.476, allocations: 90.88 kB / 4.018 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.222e-05/5.476, allocations: 38.08 kB / 4.018 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002617/5.479, allocations: 2.64 MB / 4.02 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002109/5.481, allocations: 0.6974 MB / 4.021 GB, free: 149.2 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 (100): * Single equations (assignments): 86 * 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.00228/5.483, allocations: 1.813 MB / 4.023 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001759/5.485, allocations: 1.318 MB / 4.024 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/5.485, allocations: 0 / 4.024 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00091/5.486, allocations: 0.7994 MB / 4.025 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/5.488, allocations: 0.4949 MB / 4.025 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006945/5.495, allocations: 4.963 MB / 4.03 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/5.496, allocations: 2.106 MB / 4.032 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/5.496, allocations: 0 / 4.032 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.04773/5.544, allocations: 34.35 MB / 4.066 GB, free: 145.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches