Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.115/2.115, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 185.3 kB / 490.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.708/1.708, allocations: 221.4 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.0009706, allocations: 80.69 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.744e-06/7.774e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3452, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.055/4.4, allocations: 2.195 GB / 3.407 GB, free: 111.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/4.401, allocations: 87.56 kB / 3.407 GB, free: 111.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.021/6.421, allocations: 0.6445 GB / 4.051 GB, free: 277.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004233/6.422, allocations: 62.17 kB / 4.051 GB, free: 277.6 MB / 1.151 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.007991/6.43, allocations: 2.661 MB / 4.054 GB, free: 276.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/6.43, allocations: 10.95 kB / 4.054 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/6.433, allocations: 475.3 kB / 4.054 GB, free: 276.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008161/6.441, allocations: 2.688 MB / 4.057 GB, free: 275.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/6.441, allocations: 102.1 kB / 4.057 GB, free: 275.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/6.442, allocations: 81.25 kB / 4.057 GB, free: 275.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002798/6.445, allocations: 1.064 MB / 4.058 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/6.448, allocations: 1.253 MB / 4.059 GB, free: 275.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/6.448, allocations: 3 kB / 4.059 GB, free: 275.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/6.448, allocations: 7.234 kB / 4.059 GB, free: 275.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/6.448, allocations: 47.69 kB / 4.059 GB, free: 275.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009969/6.458, allocations: 6.559 MB / 4.066 GB, free: 272.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/6.459, allocations: 0.6461 MB / 4.066 GB, free: 272.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/6.46, allocations: 0.5903 MB / 4.067 GB, free: 272.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/6.46, allocations: 291.3 kB / 4.067 GB, free: 272.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008488/6.461, allocations: 0.5736 MB / 4.068 GB, free: 272.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=112): time 4.418e-06/6.461, allocations: 3.938 kB / 4.068 GB, free: 272.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.003207/6.464, allocations: 1.388 MB / 4.069 GB, free: 272.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/6.464, allocations: 67.19 kB / 4.069 GB, free: 272.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005367/6.47, allocations: 3.377 MB / 4.073 GB, free: 272 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/6.47, allocations: 33.36 kB / 4.073 GB, free: 272 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005387/6.47, allocations: 0.6618 MB / 4.073 GB, free: 271.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/6.471, allocations: 352.3 kB / 4.074 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/6.471, allocations: 0 / 4.074 GB, free: 271.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001162/6.471, allocations: 350.8 kB / 4.074 GB, free: 271.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006496/6.472, allocations: 424.8 kB / 4.074 GB, free: 271.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008882/6.473, allocations: 0.6773 MB / 4.075 GB, free: 270.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/6.474, allocations: 0.5435 MB / 4.076 GB, free: 270.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/6.474, allocations: 3.438 kB / 4.076 GB, free: 270.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002559/6.476, allocations: 1.585 MB / 4.077 GB, free: 270.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/6.476, allocations: 6.781 kB / 4.077 GB, free: 270.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/6.476, allocations: 7.75 kB / 4.077 GB, free: 270.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/6.477, allocations: 220.2 kB / 4.077 GB, free: 270.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009163/6.478, allocations: 252 kB / 4.078 GB, free: 270.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/6.481, allocations: 3.967 MB / 4.081 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/6.483, allocations: 187.9 kB / 4.082 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/6.483, allocations: 52.62 kB / 4.082 GB, free: 268 MB / 1.151 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_last,mean.y_last,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.0002386/6.483, allocations: 155.2 kB / 4.082 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/6.483, allocations: 269.3 kB / 4.082 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/6.486, allocations: 1.505 MB / 4.084 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/6.486, allocations: 7.75 kB / 4.084 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/6.486, allocations: 3.781 kB / 4.084 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00191/6.488, allocations: 1.285 MB / 4.085 GB, free: 267.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006009/6.494, allocations: 3.821 MB / 4.089 GB, free: 266.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/6.494, allocations: 3.891 kB / 4.089 GB, free: 266.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008039/6.495, allocations: 176 kB / 4.089 GB, free: 266.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/6.495, allocations: 213.9 kB / 4.089 GB, free: 266.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-05/6.495, allocations: 14.94 kB / 4.089 GB, free: 266.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003677/6.499, allocations: 3.969 MB / 4.093 GB, free: 263 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/6.499, allocations: 1.594 kB / 4.093 GB, free: 263 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003821/6.503, allocations: 2.24 MB / 4.095 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/6.504, allocations: 0.6251 MB / 4.096 GB, free: 261.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/6.505, allocations: 16.66 kB / 4.096 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/6.506, allocations: 101.6 kB / 4.096 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/6.506, allocations: 86.8 kB / 4.096 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/6.506, allocations: 42.8 kB / 4.096 GB, free: 261.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003856/6.51, allocations: 2.639 MB / 4.098 GB, free: 260.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003277/6.513, allocations: 0.7105 MB / 4.099 GB, free: 260.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.medium.Xi[1],thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,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_last) * 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.003699/6.517, allocations: 1.81 MB / 4.101 GB, free: 260 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003142/6.52, allocations: 1.306 MB / 4.102 GB, free: 259.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/6.52, allocations: 0 / 4.102 GB, free: 259.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/6.521, allocations: 0.8128 MB / 4.103 GB, free: 259 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004305/6.526, allocations: 0.4887 MB / 4.103 GB, free: 258.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/6.536, allocations: 4.98 MB / 4.108 GB, free: 257.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002242/6.538, allocations: 2.117 MB / 4.11 GB, free: 256.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.283e-06/6.538, allocations: 0 / 4.11 GB, free: 256.6 MB / 1.151 GB Notification: Performance of Templates: time 0.06507/6.603, allocations: 34.43 MB / 4.144 GB, free: 247.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches