Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.97/1.97, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001041/0.001041, allocations: 185.2 kB / 487 MB, free: 5.355 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.336/1.336, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.00102, allocations: 89.19 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.514e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2451, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.322/4.567, allocations: 2.194 GB / 3.399 GB, free: 75.28 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/4.567, allocations: 82.95 kB / 3.4 GB, free: 75.24 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.382/6.95, allocations: 0.6444 GB / 4.044 GB, free: 286.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001969/6.95, allocations: 59.66 kB / 4.044 GB, free: 286.9 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.004214/6.954, allocations: 2.66 MB / 4.047 GB, free: 285.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/6.954, allocations: 10.97 kB / 4.047 GB, free: 285.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/6.956, allocations: 470.3 kB / 4.047 GB, free: 285.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006707/6.962, allocations: 2.704 MB / 4.05 GB, free: 284.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/6.963, allocations: 98.05 kB / 4.05 GB, free: 284.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/6.963, allocations: 82.03 kB / 4.05 GB, free: 284.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002065/6.965, allocations: 1.062 MB / 4.051 GB, free: 284.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/6.967, allocations: 1.247 MB / 4.052 GB, free: 283.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/6.967, allocations: 5.156 kB / 4.052 GB, free: 283.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/6.967, allocations: 5.375 kB / 4.052 GB, free: 283.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/6.967, allocations: 45.44 kB / 4.052 GB, free: 283.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/6.977, allocations: 6.566 MB / 4.059 GB, free: 279.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/6.979, allocations: 0.6465 MB / 4.059 GB, free: 279.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009426/6.98, allocations: 0.5862 MB / 4.06 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004325/6.98, allocations: 298.7 kB / 4.06 GB, free: 278.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009747/6.981, allocations: 0.5717 MB / 4.061 GB, free: 278.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=112): time 3.076e-06/6.981, allocations: 0 / 4.061 GB, free: 278.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.003485/6.985, allocations: 1.389 MB / 4.062 GB, free: 278.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/6.985, allocations: 64.02 kB / 4.062 GB, free: 278.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005994/6.991, allocations: 3.382 MB / 4.065 GB, free: 277 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002057/6.991, allocations: 33.66 kB / 4.065 GB, free: 276.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006728/6.991, allocations: 0.653 MB / 4.066 GB, free: 276.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004449/6.992, allocations: 362.9 kB / 4.066 GB, free: 276.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/6.992, allocations: 0 / 4.066 GB, free: 276.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001012/6.992, allocations: 352.9 kB / 4.067 GB, free: 275.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/6.993, allocations: 422.3 kB / 4.067 GB, free: 275.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008529/6.994, allocations: 0.6819 MB / 4.068 GB, free: 275.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/6.995, allocations: 0.5489 MB / 4.068 GB, free: 275.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.026e-06/6.995, allocations: 4.875 kB / 4.068 GB, free: 275.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003367/6.998, allocations: 1.579 MB / 4.07 GB, free: 274.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/6.998, allocations: 7.625 kB / 4.07 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/6.998, allocations: 6.781 kB / 4.07 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000681/6.999, allocations: 219.4 kB / 4.07 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/7, allocations: 252.1 kB / 4.07 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/7.004, allocations: 3.97 MB / 4.074 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/7.006, allocations: 182.5 kB / 4.074 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/7.006, allocations: 51.44 kB / 4.074 GB, free: 271.2 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.0002798/7.007, allocations: 149.6 kB / 4.075 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/7.007, allocations: 270 kB / 4.075 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/7.01, allocations: 1.512 MB / 4.076 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/7.01, allocations: 11.47 kB / 4.076 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/7.011, allocations: 3.531 kB / 4.076 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002243/7.013, allocations: 1.286 MB / 4.078 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007936/7.021, allocations: 3.819 MB / 4.081 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/7.021, allocations: 7.156 kB / 4.081 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008192/7.022, allocations: 175 kB / 4.081 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/7.022, allocations: 207.5 kB / 4.082 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.15e-05/7.022, allocations: 17.97 kB / 4.082 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/7.026, allocations: 3.971 MB / 4.086 GB, free: 265 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/7.026, allocations: 6.25 kB / 4.086 GB, free: 265 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004142/7.03, allocations: 2.24 MB / 4.088 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/7.032, allocations: 0.6311 MB / 4.088 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/7.032, allocations: 15.23 kB / 4.088 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/7.033, allocations: 100.3 kB / 4.089 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/7.033, allocations: 86.03 kB / 4.089 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.154e-05/7.033, allocations: 38.36 kB / 4.089 GB, free: 263.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.004/7.037, allocations: 2.642 MB / 4.091 GB, free: 262.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003036/7.04, allocations: 0.7088 MB / 4.092 GB, free: 262.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.002909/7.043, allocations: 1.801 MB / 4.094 GB, free: 261.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00262/7.046, allocations: 1.309 MB / 4.095 GB, free: 261.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/7.046, allocations: 0.9688 kB / 4.095 GB, free: 261.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/7.047, allocations: 0.8094 MB / 4.096 GB, free: 260.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/7.051, allocations: 0.4991 MB / 4.096 GB, free: 260.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/7.062, allocations: 4.983 MB / 4.101 GB, free: 258.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/7.064, allocations: 2.107 MB / 4.103 GB, free: 256.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.153e-06/7.064, allocations: 0 / 4.103 GB, free: 256.6 MB / 1.151 GB Notification: Performance of Templates: time 0.05545/7.119, allocations: 34.42 MB / 4.137 GB, free: 223.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches