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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001074/0.001074, allocations: 180.1 kB / 492.3 MB, free: 0.6016 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.792/1.792, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.001295/0.001295, allocations: 93.64 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.797e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3742, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.499/6.873, allocations: 2.195 GB / 3.407 GB, free: 83.12 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/6.873, allocations: 87.77 kB / 3.407 GB, free: 83.07 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.538/9.412, allocations: 0.6448 GB / 4.052 GB, free: 283.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.132e-06/9.412, allocations: 0 / 4.052 GB, free: 283.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002437/9.412, allocations: 68.06 kB / 4.052 GB, free: 283.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.006099/9.418, allocations: 2.654 MB / 4.055 GB, free: 282.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/9.418, allocations: 10.56 kB / 4.055 GB, free: 282.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/9.42, allocations: 457.3 kB / 4.055 GB, free: 282.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006686/9.427, allocations: 2.697 MB / 4.058 GB, free: 281.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/9.427, allocations: 145.9 kB / 4.058 GB, free: 281.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/9.428, allocations: 131.7 kB / 4.058 GB, free: 281.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/9.43, allocations: 1.408 MB / 4.06 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/9.43, allocations: 0 / 4.06 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/9.43, allocations: 56.25 kB / 4.06 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/9.43, allocations: 42.25 kB / 4.06 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/9.432, allocations: 1.118 MB / 4.061 GB, free: 281.7 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.008593/9.441, allocations: 6.675 MB / 4.067 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/9.442, allocations: 1.091 MB / 4.068 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/9.443, allocations: 0.598 MB / 4.069 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/9.444, allocations: 300.8 kB / 4.069 GB, free: 277.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000879/9.444, allocations: 0.6043 MB / 4.07 GB, free: 277.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=112): time 3.427e-06/9.444, allocations: 0 / 4.07 GB, free: 277.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.002826/9.447, allocations: 1.437 MB / 4.071 GB, free: 277 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/9.447, allocations: 64.88 kB / 4.071 GB, free: 276.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005391/9.453, allocations: 3.566 MB / 4.075 GB, free: 275.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002307/9.453, allocations: 55.05 kB / 4.075 GB, free: 275.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008859/9.454, allocations: 1.298 MB / 4.076 GB, free: 274.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/9.454, allocations: 376 kB / 4.077 GB, free: 274.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/9.454, allocations: 26.09 kB / 4.077 GB, free: 274.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/9.454, allocations: 353.6 kB / 4.077 GB, free: 274.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/9.455, allocations: 424.3 kB / 4.077 GB, free: 274 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/9.456, allocations: 0.6997 MB / 4.078 GB, free: 273.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/9.457, allocations: 0.5243 MB / 4.078 GB, free: 273.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/9.457, allocations: 0 / 4.078 GB, free: 273.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002624/9.459, allocations: 1.642 MB / 4.08 GB, free: 272.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/9.459, allocations: 9.031 kB / 4.08 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/9.459, allocations: 6.125 kB / 4.08 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/9.46, allocations: 220.7 kB / 4.08 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/9.461, allocations: 250.5 kB / 4.081 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/9.464, allocations: 4.196 MB / 4.085 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/9.466, allocations: 220 kB / 4.085 GB, free: 269.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/9.466, allocations: 51.02 kB / 4.085 GB, free: 269.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.0002697/9.466, allocations: 190.2 kB / 4.085 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004032/9.467, allocations: 293.2 kB / 4.085 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/9.47, allocations: 1.572 MB / 4.087 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/9.47, allocations: 12.06 kB / 4.087 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/9.47, allocations: 3.312 kB / 4.087 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001787/9.471, allocations: 1.341 MB / 4.088 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007033/9.479, allocations: 4.052 MB / 4.092 GB, free: 266 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/9.479, allocations: 3.531 kB / 4.092 GB, free: 266 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/9.479, allocations: 168.3 kB / 4.092 GB, free: 266 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/9.48, allocations: 210.9 kB / 4.093 GB, free: 265.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/9.48, allocations: 31.92 kB / 4.093 GB, free: 265.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/9.483, allocations: 4.19 MB / 4.097 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/9.483, allocations: 0 / 4.097 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00325/9.487, allocations: 2.301 MB / 4.099 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/9.488, allocations: 0.6362 MB / 4.1 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/9.488, allocations: 34.44 kB / 4.1 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/9.489, allocations: 120.2 kB / 4.1 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/9.489, allocations: 99.69 kB / 4.1 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/9.489, allocations: 44.78 kB / 4.1 GB, free: 260.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003322/9.493, allocations: 2.824 MB / 4.103 GB, free: 259.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/9.493, allocations: 0 / 4.103 GB, free: 259.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002461/9.495, allocations: 0.7814 MB / 4.103 GB, free: 259.7 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.002664/9.498, allocations: 1.713 MB / 4.105 GB, free: 259.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002243/9.5, allocations: 1.392 MB / 4.106 GB, free: 258.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/9.5, allocations: 0 / 4.106 GB, free: 258.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/9.501, allocations: 0.8779 MB / 4.107 GB, free: 258.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/9.504, allocations: 0.5426 MB / 4.108 GB, free: 258 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008031/9.512, allocations: 5.034 MB / 4.113 GB, free: 255.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/9.514, allocations: 1.99 MB / 4.115 GB, free: 253.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001577/9.515, allocations: 438.8 kB / 4.115 GB, free: 253.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/9.516, allocations: 155 kB / 4.115 GB, free: 253.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.365e-06/9.516, allocations: 0 / 4.115 GB, free: 253.2 MB / 1.151 GB Notification: Performance of Templates: time 0.06594/9.582, allocations: 47.4 MB / 4.161 GB, free: 209 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