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.44/2.44, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001384/0.001384, allocations: 186.6 kB / 498.1 MB, free: 5.738 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.854/1.854, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.001178/0.001178, allocations: 100.3 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004845, allocations: 10.84 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4394, allocations: 142.4 MB / 1.223 GB, free: 89.62 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.793/7.233, allocations: 2.195 GB / 3.418 GB, free: 196.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/7.233, allocations: 91.56 kB / 3.418 GB, free: 196.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.137/9.37, allocations: 0.6454 GB / 4.063 GB, free: 10.72 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.637e-06/9.37, allocations: 3.938 kB / 4.063 GB, free: 10.71 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005599/9.371, allocations: 59.94 kB / 4.064 GB, free: 10.66 MB / 1.167 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.01108/9.382, allocations: 3.148 MB / 4.067 GB, free: 7.422 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.592e-05/9.382, allocations: 8.031 kB / 4.067 GB, free: 7.414 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003537/9.386, allocations: 467.7 kB / 4.067 GB, free: 6.953 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/9.397, allocations: 2.722 MB / 4.07 GB, free: 4.168 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/9.397, allocations: 152.3 kB / 4.07 GB, free: 4.012 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007803/9.398, allocations: 127.9 kB / 4.07 GB, free: 3.887 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/9.403, allocations: 1.457 MB / 4.071 GB, free: 2.383 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/9.403, allocations: 0 / 4.071 GB, free: 2.383 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/9.403, allocations: 55.98 kB / 4.071 GB, free: 2.328 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/9.403, allocations: 42.44 kB / 4.071 GB, free: 2.285 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/9.405, allocations: 1.208 MB / 4.073 GB, free: 1.07 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.8779/10.28, allocations: 6.67 MB / 4.079 GB, free: 269.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/10.29, allocations: 1.18 MB / 4.08 GB, free: 269.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004515/10.29, allocations: 299 kB / 4.081 GB, free: 269 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/10.29, allocations: 0.6576 MB / 4.081 GB, free: 268.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=112): time 3.788e-06/10.29, allocations: 0 / 4.081 GB, free: 268.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=112): time 0.006337/10.29, allocations: 2.349 MB / 4.084 GB, free: 268.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/10.29, allocations: 64.44 kB / 4.084 GB, free: 268.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008837/10.3, allocations: 3.598 MB / 4.087 GB, free: 268.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004355/10.3, allocations: 52.56 kB / 4.087 GB, free: 268.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001455/10.31, allocations: 1.293 MB / 4.088 GB, free: 268 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005982/10.31, allocations: 378.1 kB / 4.089 GB, free: 267.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/10.31, allocations: 22.91 kB / 4.089 GB, free: 267.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001406/10.31, allocations: 355 kB / 4.089 GB, free: 267.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/10.31, allocations: 0.489 MB / 4.09 GB, free: 267.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/10.31, allocations: 0.7592 MB / 4.09 GB, free: 267.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/10.31, allocations: 0.5904 MB / 4.091 GB, free: 267.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/10.31, allocations: 2.781 kB / 4.091 GB, free: 267.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004474/10.31, allocations: 1.781 MB / 4.093 GB, free: 267 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/10.31, allocations: 8.094 kB / 4.093 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/10.31, allocations: 5.75 kB / 4.093 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00076/10.32, allocations: 224 kB / 4.093 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/10.32, allocations: 249.2 kB / 4.093 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004662/10.32, allocations: 4.303 MB / 4.097 GB, free: 264.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/10.32, allocations: 213.8 kB / 4.098 GB, free: 264.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/10.32, allocations: 52.5 kB / 4.098 GB, free: 264.2 MB / 1.167 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 () * Number of clocked 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.002343/10.33, allocations: 0.8023 MB / 4.098 GB, free: 264.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/10.33, allocations: 290.2 kB / 4.099 GB, free: 264 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/10.33, allocations: 1.661 MB / 4.1 GB, free: 263.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/10.33, allocations: 11.25 kB / 4.1 GB, free: 263.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/10.33, allocations: 3.688 kB / 4.1 GB, free: 263.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002808/10.33, allocations: 1.428 MB / 4.102 GB, free: 263.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/10.34, allocations: 4.147 MB / 4.106 GB, free: 263.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/10.34, allocations: 1.281 kB / 4.106 GB, free: 263.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008781/10.35, allocations: 175.6 kB / 4.106 GB, free: 263.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005895/10.35, allocations: 212 kB / 4.106 GB, free: 263.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.632e-05/10.35, allocations: 43.72 kB / 4.106 GB, free: 263.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004255/10.35, allocations: 4.273 MB / 4.11 GB, free: 260.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/10.35, allocations: 3.375 kB / 4.11 GB, free: 260.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/10.36, allocations: 2.434 MB / 4.113 GB, free: 259.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/10.36, allocations: 0.6352 MB / 4.113 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/10.36, allocations: 41.19 kB / 4.113 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009806/10.36, allocations: 115.2 kB / 4.113 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/10.36, allocations: 111.1 kB / 4.114 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/10.36, allocations: 37.53 kB / 4.114 GB, free: 259.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004147/10.36, allocations: 2.86 MB / 4.116 GB, free: 259.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.4e-07/10.36, allocations: 0 / 4.116 GB, free: 259.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003119/10.37, allocations: 0.7844 MB / 4.117 GB, free: 259.4 MB / 1.167 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) * Number of clocked states: 0 () * 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.003234/10.37, allocations: 1.766 MB / 4.119 GB, free: 259.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002927/10.37, allocations: 1.515 MB / 4.12 GB, free: 258.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/10.37, allocations: 0 / 4.12 GB, free: 258.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/10.37, allocations: 0.9238 MB / 4.121 GB, free: 258.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/10.38, allocations: 0.5407 MB / 4.122 GB, free: 258.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/10.39, allocations: 6.828 MB / 4.128 GB, free: 256.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/10.39, allocations: 1.98 MB / 4.13 GB, free: 255.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002315/10.39, allocations: 445.2 kB / 4.131 GB, free: 255.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/10.39, allocations: 155.3 kB / 4.131 GB, free: 255.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.282e-06/10.39, allocations: 0 / 4.131 GB, free: 255.6 MB / 1.167 GB Notification: Performance of Templates: time 0.07183/10.47, allocations: 43.89 MB / 4.174 GB, free: 254.8 MB / 1.167 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