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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.433/2.433, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001404/0.001405, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.868/1.868, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.001028/0.001028, allocations: 87.94 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.424e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3425, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.569/5.911, allocations: 2.196 GB / 3.415 GB, free: 90.77 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/5.912, allocations: 86.67 kB / 3.415 GB, free: 90.68 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.845/8.757, allocations: 0.6448 GB / 4.059 GB, free: 287.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.222e-06/8.757, allocations: 0 / 4.059 GB, free: 287.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004758/8.758, allocations: 64.53 kB / 4.06 GB, free: 287.8 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.008/8.766, allocations: 2.651 MB / 4.062 GB, free: 286.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/8.766, allocations: 9.438 kB / 4.062 GB, free: 286.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/8.769, allocations: 471.8 kB / 4.063 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008711/8.777, allocations: 2.672 MB / 4.065 GB, free: 285.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/8.778, allocations: 139.4 kB / 4.065 GB, free: 285.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006438/8.778, allocations: 140.7 kB / 4.065 GB, free: 285.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/8.783, allocations: 1.398 MB / 4.067 GB, free: 285.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-05/8.783, allocations: 6.984 kB / 4.067 GB, free: 285.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/8.783, allocations: 50.56 kB / 4.067 GB, free: 285.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/8.783, allocations: 47.12 kB / 4.067 GB, free: 285.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/8.785, allocations: 1.118 MB / 4.068 GB, free: 285.7 MB / 1.167 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.01189/8.797, allocations: 6.669 MB / 4.075 GB, free: 283.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/8.799, allocations: 1.095 MB / 4.076 GB, free: 283 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008292/8.8, allocations: 0.6039 MB / 4.076 GB, free: 283 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004073/8.8, allocations: 302.4 kB / 4.076 GB, free: 282.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008997/8.801, allocations: 0.6023 MB / 4.077 GB, free: 282.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 4.488e-06/8.801, allocations: 0 / 4.077 GB, free: 282.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=113): time 0.003246/8.804, allocations: 1.447 MB / 4.078 GB, free: 282.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/8.804, allocations: 66.5 kB / 4.079 GB, free: 282.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006098/8.811, allocations: 3.547 MB / 4.082 GB, free: 282.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003715/8.811, allocations: 51.33 kB / 4.082 GB, free: 282.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/8.812, allocations: 1.285 MB / 4.083 GB, free: 281.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/8.813, allocations: 376 kB / 4.084 GB, free: 281.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/8.813, allocations: 30.44 kB / 4.084 GB, free: 281.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001103/8.813, allocations: 351.8 kB / 4.084 GB, free: 281.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006952/8.814, allocations: 431 kB / 4.084 GB, free: 281.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008572/8.815, allocations: 0.6887 MB / 4.085 GB, free: 281 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007849/8.815, allocations: 0.5253 MB / 4.086 GB, free: 281 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/8.815, allocations: 0 / 4.086 GB, free: 281 MB / 1.167 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003046/8.818, allocations: 1.643 MB / 4.087 GB, free: 280.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/8.818, allocations: 10.59 kB / 4.087 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/8.818, allocations: 9.344 kB / 4.087 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/8.819, allocations: 217.3 kB / 4.087 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/8.82, allocations: 251.5 kB / 4.088 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/8.824, allocations: 4.176 MB / 4.092 GB, free: 277 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/8.826, allocations: 217 kB / 4.092 GB, free: 276.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/8.826, allocations: 47.81 kB / 4.092 GB, free: 276.9 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 () * 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.0003035/8.826, allocations: 193.2 kB / 4.092 GB, free: 276.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/8.826, allocations: 293.1 kB / 4.092 GB, free: 276.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/8.829, allocations: 1.582 MB / 4.094 GB, free: 276 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/8.829, allocations: 13.38 kB / 4.094 GB, free: 276 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/8.829, allocations: 3.562 kB / 4.094 GB, free: 276 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001786/8.831, allocations: 1.355 MB / 4.095 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007156/8.838, allocations: 4.055 MB / 4.099 GB, free: 273.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/8.838, allocations: 5.469 kB / 4.099 GB, free: 273.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/8.839, allocations: 172.1 kB / 4.099 GB, free: 273.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005145/8.84, allocations: 211.8 kB / 4.1 GB, free: 273.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/8.84, allocations: 32.56 kB / 4.1 GB, free: 273.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/8.844, allocations: 4.198 MB / 4.104 GB, free: 270.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/8.844, allocations: 0 / 4.104 GB, free: 270.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004006/8.848, allocations: 2.32 MB / 4.106 GB, free: 269.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/8.849, allocations: 0.6391 MB / 4.107 GB, free: 268.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/8.85, allocations: 35.27 kB / 4.107 GB, free: 268.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009959/8.851, allocations: 113.4 kB / 4.107 GB, free: 268.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/8.851, allocations: 111.5 kB / 4.107 GB, free: 268.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/8.851, allocations: 37.3 kB / 4.107 GB, free: 268.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003975/8.855, allocations: 2.815 MB / 4.11 GB, free: 267.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.4e-07/8.855, allocations: 0 / 4.11 GB, free: 267.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003115/8.858, allocations: 0.7785 MB / 4.111 GB, free: 267.6 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) * 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.00332/8.861, allocations: 1.713 MB / 4.112 GB, free: 267.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00241/8.864, allocations: 1.421 MB / 4.114 GB, free: 266.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/8.864, allocations: 0 / 4.114 GB, free: 266.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/8.865, allocations: 0.8718 MB / 4.114 GB, free: 266 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/8.868, allocations: 0.5388 MB / 4.115 GB, free: 265.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/8.878, allocations: 5.023 MB / 4.12 GB, free: 264.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/8.881, allocations: 1.987 MB / 4.122 GB, free: 263.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001928/8.883, allocations: 436.4 kB / 4.122 GB, free: 263.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/8.884, allocations: 161.4 kB / 4.122 GB, free: 263.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.773e-06/8.884, allocations: 0 / 4.122 GB, free: 263.4 MB / 1.167 GB Notification: Performance of Templates: time 0.08305/8.967, allocations: 47.36 MB / 4.169 GB, free: 238.7 MB / 1.167 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