Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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.RoomWithLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_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_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001102/0.001102, allocations: 184.5 kB / 487.4 MB, free: 5.047 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.334/1.334, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.0008973/0.0008974, allocations: 95.84 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.88e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2543, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.804/5.059, allocations: 2.194 GB / 3.4 GB, free: 129.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/5.059, allocations: 88.7 kB / 3.4 GB, free: 129.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.338/7.397, allocations: 0.6379 GB / 4.038 GB, free: 280.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.312e-06/7.397, allocations: 0 / 4.038 GB, free: 280.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000373/7.397, allocations: 64.58 kB / 4.038 GB, free: 280.8 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.006139/7.404, allocations: 2.643 MB / 4.041 GB, free: 279.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/7.404, allocations: 11.34 kB / 4.041 GB, free: 279.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/7.406, allocations: 466 kB / 4.041 GB, free: 279.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006386/7.412, allocations: 2.687 MB / 4.044 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/7.412, allocations: 97.25 kB / 4.044 GB, free: 279.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003749/7.413, allocations: 85.03 kB / 4.044 GB, free: 279.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002171/7.415, allocations: 1.044 MB / 4.045 GB, free: 279.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/7.417, allocations: 1.221 MB / 4.046 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/7.417, allocations: 3.406 kB / 4.046 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/7.417, allocations: 3.375 kB / 4.046 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/7.418, allocations: 44 kB / 4.046 GB, free: 279 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.009657/7.427, allocations: 6.448 MB / 4.053 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/7.429, allocations: 1.051 MB / 4.054 GB, free: 276.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007299/7.429, allocations: 0.5678 MB / 4.054 GB, free: 276.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/7.43, allocations: 297 kB / 4.055 GB, free: 276 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008143/7.431, allocations: 0.5772 MB / 4.055 GB, free: 276 MB / 1.151 GB Notification: Performance of pre-optimization done (n=113): time 3.456e-06/7.431, allocations: 0 / 4.055 GB, free: 276 MB / 1.151 GB Notification: Performance of matching and sorting (n=113): time 0.00286/7.434, allocations: 1.407 MB / 4.056 GB, free: 275.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/7.434, allocations: 67.69 kB / 4.057 GB, free: 275.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00616/7.44, allocations: 3.367 MB / 4.06 GB, free: 275.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00024/7.44, allocations: 36.77 kB / 4.06 GB, free: 275.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/7.441, allocations: 1.299 MB / 4.061 GB, free: 275.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/7.442, allocations: 356.2 kB / 4.061 GB, free: 274.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/7.442, allocations: 0 / 4.061 GB, free: 274.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001019/7.442, allocations: 362 kB / 4.062 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006994/7.443, allocations: 408.4 kB / 4.062 GB, free: 274.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/7.443, allocations: 0.6591 MB / 4.063 GB, free: 274.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/7.444, allocations: 0.5332 MB / 4.063 GB, free: 274.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/7.444, allocations: 3.188 kB / 4.063 GB, free: 274.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002807/7.447, allocations: 1.553 MB / 4.065 GB, free: 274.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/7.447, allocations: 7.844 kB / 4.065 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/7.447, allocations: 3.406 kB / 4.065 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/7.448, allocations: 217.7 kB / 4.065 GB, free: 274 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/7.449, allocations: 250.7 kB / 4.065 GB, free: 274 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/7.452, allocations: 4.027 MB / 4.069 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/7.454, allocations: 186.9 kB / 4.069 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/7.454, allocations: 51.53 kB / 4.069 GB, free: 271.4 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.0003285/7.454, allocations: 157.8 kB / 4.07 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008204/7.455, allocations: 280.2 kB / 4.07 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/7.459, allocations: 1.522 MB / 4.071 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/7.459, allocations: 10.72 kB / 4.071 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/7.459, allocations: 3.75 kB / 4.071 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0019/7.461, allocations: 1.305 MB / 4.073 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007881/7.468, allocations: 3.848 MB / 4.076 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/7.468, allocations: 0 / 4.076 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000741/7.469, allocations: 173.6 kB / 4.077 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004515/7.47, allocations: 206.8 kB / 4.077 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/7.47, allocations: 20.16 kB / 4.077 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003306/7.473, allocations: 4.036 MB / 4.081 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/7.473, allocations: 0 / 4.081 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/7.477, allocations: 2.27 MB / 4.083 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/7.478, allocations: 0.63 MB / 4.084 GB, free: 266.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006026/7.479, allocations: 19.06 kB / 4.084 GB, free: 266.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/7.48, allocations: 104.6 kB / 4.084 GB, free: 266.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/7.48, allocations: 105.3 kB / 4.084 GB, free: 266.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.272e-05/7.48, allocations: 39.48 kB / 4.084 GB, free: 266.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004179/7.485, allocations: 2.633 MB / 4.086 GB, free: 266.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.81e-07/7.485, allocations: 0 / 4.086 GB, free: 266.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00358/7.488, allocations: 0.7078 MB / 4.087 GB, free: 266.6 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 (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.003226/7.491, allocations: 1.849 MB / 4.089 GB, free: 266.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002483/7.494, allocations: 1.334 MB / 4.09 GB, free: 266 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/7.494, allocations: 0 / 4.09 GB, free: 266 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/7.495, allocations: 0.8393 MB / 4.091 GB, free: 265.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/7.498, allocations: 0.5157 MB / 4.092 GB, free: 265.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007956/7.506, allocations: 4.96 MB / 4.096 GB, free: 264.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/7.508, allocations: 1.985 MB / 4.098 GB, free: 264 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001387/7.509, allocations: 432.4 kB / 4.099 GB, free: 264 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005566/7.51, allocations: 154.1 kB / 4.099 GB, free: 264 MB / 1.151 GB Notification: Performance of SimCode: time 9.02e-07/7.51, allocations: 0 / 4.099 GB, free: 264 MB / 1.151 GB Notification: Performance of Templates: time 0.05229/7.562, allocations: 33 MB / 4.131 GB, free: 262 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches