Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.592/1.592, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 180.8 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.301/2.301, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 86.47 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.89e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3158, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.557/6.873, allocations: 2.473 GB / 3.358 GB, free: 280 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/6.873, allocations: 85.08 kB / 3.358 GB, free: 279.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.53/9.403, allocations: 0.6093 GB / 3.967 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.774e-06/9.403, allocations: 0 / 3.967 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002552/9.403, allocations: 64.16 kB / 3.967 GB, free: 163.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.006053/9.409, allocations: 2.633 MB / 3.97 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/9.409, allocations: 8.016 kB / 3.97 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/9.411, allocations: 465.8 kB / 3.971 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006705/9.418, allocations: 2.664 MB / 3.973 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/9.418, allocations: 97.53 kB / 3.973 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/9.418, allocations: 82.62 kB / 3.973 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002175/9.421, allocations: 1.043 MB / 3.974 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/9.423, allocations: 1.231 MB / 3.976 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/9.423, allocations: 5.281 kB / 3.976 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/9.423, allocations: 7.812 kB / 3.976 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.691e-05/9.423, allocations: 44.05 kB / 3.976 GB, free: 161.5 MB / 0.8698 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.01063/9.434, allocations: 6.417 MB / 3.982 GB, free: 159 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/9.436, allocations: 1.025 MB / 3.983 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009605/9.437, allocations: 0.562 MB / 3.983 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/9.437, allocations: 292.8 kB / 3.984 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/9.438, allocations: 0.5759 MB / 3.984 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=112): time 7.514e-06/9.438, allocations: 0 / 3.984 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112): time 0.003629/9.442, allocations: 1.4 MB / 3.986 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/9.442, allocations: 69.81 kB / 3.986 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006306/9.448, allocations: 3.369 MB / 3.989 GB, free: 158 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/9.448, allocations: 33.2 kB / 3.989 GB, free: 158 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/9.45, allocations: 1.272 MB / 3.99 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000374/9.45, allocations: 358 kB / 3.991 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/9.45, allocations: 1.5 kB / 3.991 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001082/9.45, allocations: 361.8 kB / 3.991 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/9.451, allocations: 399.1 kB / 3.991 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008743/9.452, allocations: 0.6458 MB / 3.992 GB, free: 157 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/9.453, allocations: 0.5226 MB / 3.992 GB, free: 157 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/9.453, allocations: 1.219 kB / 3.992 GB, free: 157 MB / 0.8698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003259/9.456, allocations: 1.543 MB / 3.994 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/9.456, allocations: 8.875 kB / 3.994 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/9.456, allocations: 5.906 kB / 3.994 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006357/9.457, allocations: 212.3 kB / 3.994 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/9.458, allocations: 246 kB / 3.994 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/9.462, allocations: 4.048 MB / 3.998 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/9.464, allocations: 173.5 kB / 3.998 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/9.464, allocations: 55.81 kB / 3.999 GB, free: 154.1 MB / 0.8698 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,mean.y,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.0002869/9.465, allocations: 159.8 kB / 3.999 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/9.465, allocations: 284.8 kB / 3.999 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/9.468, allocations: 1.494 MB / 4 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/9.468, allocations: 11.62 kB / 4 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/9.468, allocations: 3.594 kB / 4 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002237/9.471, allocations: 1.296 MB / 4.002 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006944/9.478, allocations: 3.819 MB / 4.005 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/9.478, allocations: 0 / 4.005 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/9.478, allocations: 180.5 kB / 4.006 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/9.479, allocations: 194.5 kB / 4.006 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/9.479, allocations: 28.38 kB / 4.006 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003518/9.482, allocations: 4.022 MB / 4.01 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.341e-06/9.483, allocations: 3.938 kB / 4.01 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/9.486, allocations: 2.283 MB / 4.012 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/9.487, allocations: 0.6276 MB / 4.013 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/9.488, allocations: 26.14 kB / 4.013 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/9.489, allocations: 99.83 kB / 4.013 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/9.489, allocations: 105.6 kB / 4.013 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.548e-05/9.489, allocations: 40.5 kB / 4.013 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003421/9.493, allocations: 2.63 MB / 4.015 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/9.493, allocations: 6.031 kB / 4.015 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002802/9.495, allocations: 0.7223 MB / 4.016 GB, free: 149.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],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) * 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.002831/9.498, allocations: 1.826 MB / 4.018 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002199/9.5, allocations: 1.321 MB / 4.019 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/9.5, allocations: 7.547 kB / 4.019 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/9.501, allocations: 0.8285 MB / 4.02 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/9.504, allocations: 0.5138 MB / 4.021 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009739/9.514, allocations: 4.956 MB / 4.025 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/9.517, allocations: 1.98 MB / 4.027 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001832/9.519, allocations: 424.5 kB / 4.028 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006992/9.519, allocations: 156.8 kB / 4.028 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.533e-06/9.519, allocations: 0 / 4.028 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.06944/9.589, allocations: 32.98 MB / 4.06 GB, free: 146 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches