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.041/2.041, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001002/0.001002, allocations: 176.8 kB / 487.4 MB, free: 5.039 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.355/1.355, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 103.8 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.5e-05/1.503e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2579, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.888/5.146, allocations: 2.194 GB / 3.4 GB, free: 105.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/5.146, allocations: 83.33 kB / 3.4 GB, free: 105.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.3/7.446, allocations: 0.6379 GB / 4.038 GB, free: 284.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.072e-06/7.446, allocations: 0 / 4.038 GB, free: 284.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003055/7.446, allocations: 65.48 kB / 4.038 GB, free: 284.4 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.005166/7.451, allocations: 2.654 MB / 4.041 GB, free: 283.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/7.451, allocations: 7.688 kB / 4.041 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/7.453, allocations: 469 kB / 4.041 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005562/7.459, allocations: 2.68 MB / 4.044 GB, free: 282.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/7.459, allocations: 96.41 kB / 4.044 GB, free: 282.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/7.459, allocations: 76.69 kB / 4.044 GB, free: 282.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001744/7.461, allocations: 1.05 MB / 4.045 GB, free: 282.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/7.463, allocations: 1.229 MB / 4.046 GB, free: 282.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/7.463, allocations: 3.906 kB / 4.046 GB, free: 282.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/7.463, allocations: 6.234 kB / 4.046 GB, free: 282.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/7.463, allocations: 44.33 kB / 4.046 GB, free: 282.5 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.007454/7.471, allocations: 6.438 MB / 4.053 GB, free: 280 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/7.472, allocations: 1.048 MB / 4.054 GB, free: 279.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/7.473, allocations: 0.5711 MB / 4.054 GB, free: 279.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/7.473, allocations: 290.7 kB / 4.055 GB, free: 279.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007298/7.474, allocations: 0.5815 MB / 4.055 GB, free: 279.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=112): time 2.855e-06/7.474, allocations: 0 / 4.055 GB, free: 279.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.00248/7.476, allocations: 1.394 MB / 4.057 GB, free: 279.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/7.476, allocations: 66.88 kB / 4.057 GB, free: 279.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004703/7.481, allocations: 3.38 MB / 4.06 GB, free: 278.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.763e-05/7.481, allocations: 29.48 kB / 4.06 GB, free: 278.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007841/7.482, allocations: 1.321 MB / 4.061 GB, free: 278.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/7.482, allocations: 357.9 kB / 4.062 GB, free: 278.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/7.482, allocations: 0 / 4.062 GB, free: 278.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/7.482, allocations: 360 kB / 4.062 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/7.483, allocations: 405.7 kB / 4.062 GB, free: 278.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/7.483, allocations: 0.6588 MB / 4.063 GB, free: 277.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/7.484, allocations: 0.5278 MB / 4.063 GB, free: 277.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/7.484, allocations: 0 / 4.063 GB, free: 277.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002253/7.487, allocations: 1.549 MB / 4.065 GB, free: 277.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/7.487, allocations: 7.938 kB / 4.065 GB, free: 277.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/7.487, allocations: 6.844 kB / 4.065 GB, free: 277.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/7.487, allocations: 211.8 kB / 4.065 GB, free: 277.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/7.488, allocations: 256.8 kB / 4.065 GB, free: 277.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/7.491, allocations: 4.042 MB / 4.069 GB, free: 274.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/7.492, allocations: 187.6 kB / 4.07 GB, free: 274.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/7.492, allocations: 55.86 kB / 4.07 GB, free: 274.9 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.0002109/7.493, allocations: 159.4 kB / 4.07 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004937/7.493, allocations: 284.1 kB / 4.07 GB, free: 274.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/7.496, allocations: 1.495 MB / 4.071 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/7.496, allocations: 21.09 kB / 4.072 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/7.496, allocations: 0 / 4.072 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00169/7.497, allocations: 1.307 MB / 4.073 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/7.503, allocations: 3.824 MB / 4.077 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/7.503, allocations: 3.781 kB / 4.077 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/7.504, allocations: 185.8 kB / 4.077 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/7.504, allocations: 202.9 kB / 4.077 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/7.504, allocations: 21.28 kB / 4.077 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/7.507, allocations: 4.011 MB / 4.081 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/7.507, allocations: 12.86 kB / 4.081 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/7.51, allocations: 2.24 MB / 4.083 GB, free: 270 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/7.511, allocations: 0.6274 MB / 4.084 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/7.511, allocations: 17.56 kB / 4.084 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/7.512, allocations: 101.8 kB / 4.084 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/7.513, allocations: 103.5 kB / 4.084 GB, free: 269.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.097e-05/7.513, allocations: 44.17 kB / 4.084 GB, free: 269.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002743/7.515, allocations: 2.633 MB / 4.086 GB, free: 268.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/7.515, allocations: 0 / 4.086 GB, free: 268.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002079/7.518, allocations: 0.7226 MB / 4.087 GB, free: 268.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 (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.002538/7.52, allocations: 1.833 MB / 4.089 GB, free: 268.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0018/7.522, allocations: 1.327 MB / 4.09 GB, free: 267.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/7.522, allocations: 0 / 4.09 GB, free: 267.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009548/7.523, allocations: 0.8324 MB / 4.091 GB, free: 267.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/7.525, allocations: 0.5272 MB / 4.092 GB, free: 266.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/7.532, allocations: 4.964 MB / 4.096 GB, free: 265.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/7.534, allocations: 1.979 MB / 4.098 GB, free: 264.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001302/7.535, allocations: 431.8 kB / 4.099 GB, free: 264.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/7.536, allocations: 151.8 kB / 4.099 GB, free: 264.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.91e-07/7.536, allocations: 7.391 kB / 4.099 GB, free: 264.5 MB / 1.151 GB Notification: Performance of Templates: time 0.04866/7.584, allocations: 33.01 MB / 4.131 GB, free: 258.3 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