Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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.RoomWithLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.347/2.347, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001207/0.001207, allocations: 173.3 kB / 490.8 MB, free: 1.953 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.405/1.405, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009569/0.0009569, allocations: 94.38 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.961e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2524, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.708/3.961, allocations: 2.195 GB / 3.407 GB, free: 116 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/3.961, allocations: 87.95 kB / 3.407 GB, free: 115.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.611/6.572, allocations: 0.6444 GB / 4.051 GB, free: 274.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005188/6.572, allocations: 66.14 kB / 4.051 GB, free: 274.7 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.008949/6.581, allocations: 2.651 MB / 4.054 GB, free: 273.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/6.581, allocations: 7.969 kB / 4.054 GB, free: 273.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/6.584, allocations: 473.9 kB / 4.054 GB, free: 273.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00815/6.593, allocations: 2.698 MB / 4.057 GB, free: 272.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/6.593, allocations: 103.3 kB / 4.057 GB, free: 272.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006062/6.593, allocations: 85.22 kB / 4.057 GB, free: 272.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002755/6.596, allocations: 1.067 MB / 4.058 GB, free: 272.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/6.598, allocations: 1.245 MB / 4.059 GB, free: 272.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/6.598, allocations: 0 / 4.059 GB, free: 272.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/6.598, allocations: 2.75 kB / 4.059 GB, free: 272.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/6.598, allocations: 44.75 kB / 4.059 GB, free: 272.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009282/6.608, allocations: 6.569 MB / 4.066 GB, free: 270 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/6.609, allocations: 0.6487 MB / 4.066 GB, free: 269.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008355/6.61, allocations: 0.5935 MB / 4.067 GB, free: 269.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004389/6.61, allocations: 300.7 kB / 4.067 GB, free: 269.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008396/6.611, allocations: 0.5737 MB / 4.068 GB, free: 269.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=113): time 3.758e-06/6.611, allocations: 0 / 4.068 GB, free: 269.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=113): time 0.00317/6.614, allocations: 1.396 MB / 4.069 GB, free: 269.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/6.614, allocations: 67.91 kB / 4.069 GB, free: 269.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005137/6.619, allocations: 3.364 MB / 4.073 GB, free: 269.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/6.62, allocations: 31.8 kB / 4.073 GB, free: 269 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/6.62, allocations: 0.6599 MB / 4.073 GB, free: 268.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/6.621, allocations: 358 kB / 4.074 GB, free: 268.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/6.621, allocations: 2.75 kB / 4.074 GB, free: 268.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.627e-05/6.621, allocations: 350.4 kB / 4.074 GB, free: 268.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/6.621, allocations: 426.9 kB / 4.074 GB, free: 268.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007395/6.622, allocations: 0.6732 MB / 4.075 GB, free: 267.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/6.623, allocations: 0.5539 MB / 4.075 GB, free: 267.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/6.623, allocations: 6.844 kB / 4.075 GB, free: 267.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002772/6.626, allocations: 1.573 MB / 4.077 GB, free: 267.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/6.626, allocations: 3.562 kB / 4.077 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/6.626, allocations: 6.969 kB / 4.077 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007125/6.627, allocations: 217 kB / 4.077 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009362/6.628, allocations: 256.8 kB / 4.077 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/6.631, allocations: 3.982 MB / 4.081 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/6.633, allocations: 184.6 kB / 4.082 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/6.633, allocations: 48.53 kB / 4.082 GB, free: 265.1 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.0002959/6.634, allocations: 153.6 kB / 4.082 GB, free: 264.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003908/6.634, allocations: 269.4 kB / 4.082 GB, free: 264.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/6.637, allocations: 1.513 MB / 4.083 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/6.637, allocations: 11.47 kB / 4.083 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/6.637, allocations: 3.969 kB / 4.083 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001859/6.639, allocations: 1.29 MB / 4.085 GB, free: 264.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/6.645, allocations: 3.836 MB / 4.089 GB, free: 264 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/6.645, allocations: 0 / 4.089 GB, free: 264 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008227/6.646, allocations: 185.4 kB / 4.089 GB, free: 264 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/6.647, allocations: 212.7 kB / 4.089 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-05/6.647, allocations: 19.11 kB / 4.089 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/6.65, allocations: 3.97 MB / 4.093 GB, free: 261.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/6.65, allocations: 7.234 kB / 4.093 GB, free: 261.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003732/6.654, allocations: 2.255 MB / 4.095 GB, free: 260.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/6.655, allocations: 0.6297 MB / 4.096 GB, free: 260.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/6.656, allocations: 18.89 kB / 4.096 GB, free: 260.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/6.657, allocations: 85.86 kB / 4.096 GB, free: 260.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/6.657, allocations: 90.89 kB / 4.096 GB, free: 260.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/6.657, allocations: 47.05 kB / 4.096 GB, free: 260.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.004771/6.662, allocations: 2.639 MB / 4.098 GB, free: 259.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003158/6.665, allocations: 0.7068 MB / 4.099 GB, free: 259 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 (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.003117/6.668, allocations: 1.794 MB / 4.101 GB, free: 258.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002599/6.671, allocations: 1.317 MB / 4.102 GB, free: 258 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/6.671, allocations: 5.125 kB / 4.102 GB, free: 258 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/6.672, allocations: 0.811 MB / 4.103 GB, free: 257.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/6.676, allocations: 0.4935 MB / 4.103 GB, free: 257.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/6.686, allocations: 4.978 MB / 4.108 GB, free: 256 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002669/6.689, allocations: 2.113 MB / 4.11 GB, free: 255.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.413e-06/6.689, allocations: 0 / 4.11 GB, free: 255.2 MB / 1.151 GB Notification: Performance of Templates: time 0.07101/6.76, allocations: 34.45 MB / 4.144 GB, free: 249.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches