Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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.RoomWithLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_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_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001094/0.001094, allocations: 184.9 kB / 492.3 MB, free: 0.6211 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.761/1.761, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001184/0.001184, allocations: 91.89 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.389e-05/4.392e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4071, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.383/6.791, allocations: 2.195 GB / 3.407 GB, free: 107.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/6.791, allocations: 83.95 kB / 3.407 GB, free: 107.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.611/9.402, allocations: 0.6448 GB / 4.052 GB, free: 280.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/9.402, allocations: 0 / 4.052 GB, free: 280.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003887/9.402, allocations: 66.36 kB / 4.052 GB, free: 280.3 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.006738/9.409, allocations: 2.637 MB / 4.055 GB, free: 279.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/9.409, allocations: 9.125 kB / 4.055 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/9.411, allocations: 468.2 kB / 4.055 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006939/9.418, allocations: 2.688 MB / 4.058 GB, free: 278.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/9.419, allocations: 142.8 kB / 4.058 GB, free: 278.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004468/9.419, allocations: 134.1 kB / 4.058 GB, free: 278.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/9.422, allocations: 1.396 MB / 4.06 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/9.422, allocations: 3.906 kB / 4.06 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/9.422, allocations: 56.97 kB / 4.06 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/9.422, allocations: 41.69 kB / 4.06 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/9.424, allocations: 1.12 MB / 4.061 GB, free: 278.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008844/9.433, allocations: 6.672 MB / 4.067 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/9.434, allocations: 1.1 MB / 4.068 GB, free: 275.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008089/9.435, allocations: 0.6019 MB / 4.069 GB, free: 275.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/9.436, allocations: 296.5 kB / 4.069 GB, free: 275.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000866/9.436, allocations: 0.6028 MB / 4.07 GB, free: 275.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=113): time 3.096e-06/9.436, allocations: 5.625 kB / 4.07 GB, free: 275.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=113): time 0.00278/9.439, allocations: 1.443 MB / 4.071 GB, free: 275 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/9.439, allocations: 76.09 kB / 4.071 GB, free: 274.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006161/9.446, allocations: 3.543 MB / 4.075 GB, free: 274.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/9.446, allocations: 55.98 kB / 4.075 GB, free: 274.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/9.447, allocations: 1.281 MB / 4.076 GB, free: 274.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/9.447, allocations: 375.9 kB / 4.076 GB, free: 274.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/9.447, allocations: 23.06 kB / 4.076 GB, free: 274.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/9.448, allocations: 356.6 kB / 4.077 GB, free: 273.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/9.448, allocations: 430.8 kB / 4.077 GB, free: 273.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008547/9.449, allocations: 0.6884 MB / 4.078 GB, free: 273.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/9.45, allocations: 0.5226 MB / 4.078 GB, free: 273.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-06/9.45, allocations: 1.906 kB / 4.078 GB, free: 273.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002819/9.453, allocations: 1.637 MB / 4.08 GB, free: 273.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/9.453, allocations: 14.05 kB / 4.08 GB, free: 273.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/9.453, allocations: 9.469 kB / 4.08 GB, free: 273.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/9.453, allocations: 221.7 kB / 4.08 GB, free: 273.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009263/9.454, allocations: 250.4 kB / 4.08 GB, free: 273.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003794/9.458, allocations: 4.173 MB / 4.084 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/9.46, allocations: 213.7 kB / 4.085 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/9.46, allocations: 55.91 kB / 4.085 GB, free: 269.8 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.0003045/9.461, allocations: 188.4 kB / 4.085 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006583/9.461, allocations: 291.5 kB / 4.085 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/9.464, allocations: 1.584 MB / 4.087 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/9.464, allocations: 10.34 kB / 4.087 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/9.464, allocations: 3.625 kB / 4.087 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/9.466, allocations: 1.352 MB / 4.088 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007394/9.473, allocations: 4.062 MB / 4.092 GB, free: 266.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/9.473, allocations: 3.422 kB / 4.092 GB, free: 266.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008057/9.474, allocations: 175.2 kB / 4.092 GB, free: 266.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/9.475, allocations: 208.3 kB / 4.092 GB, free: 266.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/9.475, allocations: 35.5 kB / 4.092 GB, free: 266.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003638/9.479, allocations: 4.198 MB / 4.097 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/9.479, allocations: 0 / 4.097 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/9.482, allocations: 2.329 MB / 4.099 GB, free: 262.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/9.484, allocations: 0.6292 MB / 4.099 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005569/9.484, allocations: 34.31 kB / 4.099 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/9.486, allocations: 120.5 kB / 4.1 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/9.486, allocations: 104.2 kB / 4.1 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.685e-05/9.486, allocations: 37.23 kB / 4.1 GB, free: 261.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004161/9.49, allocations: 2.821 MB / 4.102 GB, free: 260.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.49, allocations: 0 / 4.102 GB, free: 260.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002798/9.493, allocations: 0.7779 MB / 4.103 GB, free: 260.5 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.002935/9.496, allocations: 1.723 MB / 4.105 GB, free: 260 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002272/9.498, allocations: 1.407 MB / 4.106 GB, free: 259.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/9.498, allocations: 0 / 4.106 GB, free: 259.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/9.499, allocations: 0.8781 MB / 4.107 GB, free: 259 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/9.502, allocations: 0.5478 MB / 4.108 GB, free: 258.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007941/9.51, allocations: 5.025 MB / 4.113 GB, free: 257.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/9.512, allocations: 1.983 MB / 4.115 GB, free: 256.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001345/9.513, allocations: 423.5 kB / 4.115 GB, free: 256.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/9.513, allocations: 163.6 kB / 4.115 GB, free: 256.3 MB / 1.151 GB Notification: Performance of SimCode: time 8.12e-07/9.513, allocations: 0 / 4.115 GB, free: 256.3 MB / 1.151 GB Notification: Performance of Templates: time 0.06434/9.578, allocations: 47.36 MB / 4.161 GB, free: 226.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches