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.529/2.529, allocations: 393.5 MB / 408.4 MB, free: 10.91 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.001567/0.001567, allocations: 184 kB / 0.4902 GB, free: 2.094 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.813/1.813, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.0009771/0.0009772, allocations: 105.3 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 8.953 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.305/6.621, allocations: 2.196 GB / 3.425 GB, free: 235.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/6.622, allocations: 91.95 kB / 3.425 GB, free: 235.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.391/9.013, allocations: 0.6455 GB / 4.071 GB, free: 30.37 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.384e-06/9.013, allocations: 0 / 4.071 GB, free: 30.37 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005647/9.013, allocations: 60.12 kB / 4.071 GB, free: 30.31 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.01073/9.024, allocations: 3.148 MB / 4.074 GB, free: 27.08 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/9.024, allocations: 12.83 kB / 4.074 GB, free: 27.07 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/9.027, allocations: 463.7 kB / 4.074 GB, free: 26.61 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0094/9.037, allocations: 2.722 MB / 4.077 GB, free: 23.82 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/9.037, allocations: 140.3 kB / 4.077 GB, free: 23.68 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006763/9.038, allocations: 132 kB / 4.077 GB, free: 23.55 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/9.042, allocations: 1.449 MB / 4.078 GB, free: 22.05 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.401e-05/9.042, allocations: 3.938 kB / 4.078 GB, free: 22.05 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/9.043, allocations: 59.98 kB / 4.079 GB, free: 21.99 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.033e-05/9.043, allocations: 42.44 kB / 4.079 GB, free: 21.95 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/9.046, allocations: 1.204 MB / 4.08 GB, free: 20.74 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.0131/9.059, allocations: 6.673 MB / 4.086 GB, free: 13.66 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/9.061, allocations: 1.195 MB / 4.087 GB, free: 12.43 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004673/9.062, allocations: 296.3 kB / 4.088 GB, free: 12.09 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/9.063, allocations: 0.6569 MB / 4.088 GB, free: 11.42 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 5.41e-06/9.063, allocations: 0 / 4.088 GB, free: 11.42 MB / 1.167 GB Notification: Performance of matching and sorting (n=113): time 0.005795/9.069, allocations: 2.345 MB / 4.091 GB, free: 9.027 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/9.069, allocations: 72.34 kB / 4.091 GB, free: 8.945 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008712/9.078, allocations: 3.586 MB / 4.094 GB, free: 5.352 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004081/9.078, allocations: 49.7 kB / 4.094 GB, free: 5.297 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001635/9.08, allocations: 1.275 MB / 4.096 GB, free: 4.012 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007598/9.08, allocations: 382.8 kB / 4.096 GB, free: 3.633 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/9.081, allocations: 24 kB / 4.096 GB, free: 3.609 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001729/9.081, allocations: 353.9 kB / 4.096 GB, free: 3.258 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/9.082, allocations: 0.4906 MB / 4.097 GB, free: 2.766 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/9.083, allocations: 0.7615 MB / 4.097 GB, free: 1.898 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/9.085, allocations: 0.5886 MB / 4.098 GB, free: 1.312 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/9.085, allocations: 4 kB / 4.098 GB, free: 1.309 MB / 1.167 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.9777/10.06, allocations: 1.78 MB / 4.1 GB, free: 268.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/10.06, allocations: 9.375 kB / 4.1 GB, free: 268.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/10.06, allocations: 7.688 kB / 4.1 GB, free: 268.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009251/10.06, allocations: 223.9 kB / 4.1 GB, free: 268.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/10.06, allocations: 249.1 kB / 4.1 GB, free: 268.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005512/10.07, allocations: 4.288 MB / 4.104 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/10.07, allocations: 215.8 kB / 4.105 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/10.07, allocations: 51.62 kB / 4.105 GB, free: 265.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 () * 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.00285/10.08, allocations: 0.8148 MB / 4.105 GB, free: 265.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/10.08, allocations: 286.2 kB / 4.106 GB, free: 265.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004127/10.08, allocations: 1.669 MB / 4.107 GB, free: 265.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/10.08, allocations: 11.47 kB / 4.107 GB, free: 265.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/10.08, allocations: 3.562 kB / 4.107 GB, free: 265.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002907/10.08, allocations: 1.444 MB / 4.109 GB, free: 265.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/10.09, allocations: 4.151 MB / 4.113 GB, free: 264.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/10.09, allocations: 2.203 kB / 4.113 GB, free: 264.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000878/10.1, allocations: 176 kB / 4.113 GB, free: 264.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006463/10.1, allocations: 215.9 kB / 4.113 GB, free: 264.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/10.1, allocations: 31 kB / 4.113 GB, free: 264.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004878/10.1, allocations: 4.279 MB / 4.117 GB, free: 262.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/10.1, allocations: 1.312 kB / 4.117 GB, free: 262.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005734/10.11, allocations: 2.456 MB / 4.12 GB, free: 261.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/10.11, allocations: 0.6337 MB / 4.12 GB, free: 261.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/10.11, allocations: 34.64 kB / 4.121 GB, free: 261.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/10.11, allocations: 116.5 kB / 4.121 GB, free: 261.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/10.11, allocations: 115.9 kB / 4.121 GB, free: 261.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/10.11, allocations: 40.91 kB / 4.121 GB, free: 261.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005434/10.12, allocations: 2.845 MB / 4.124 GB, free: 261.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.2e-07/10.12, allocations: 1.406 kB / 4.124 GB, free: 261.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003741/10.12, allocations: 0.7812 MB / 4.124 GB, free: 261.2 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 (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.00524/10.13, allocations: 1.752 MB / 4.126 GB, free: 260.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005403/10.13, allocations: 1.526 MB / 4.128 GB, free: 260.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/10.13, allocations: 1 kB / 4.128 GB, free: 260.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002887/10.13, allocations: 0.9346 MB / 4.128 GB, free: 260.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005725/10.14, allocations: 0.5525 MB / 4.129 GB, free: 260.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/10.16, allocations: 6.822 MB / 4.136 GB, free: 258.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003206/10.16, allocations: 1.985 MB / 4.138 GB, free: 257.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002229/10.16, allocations: 434.8 kB / 4.138 GB, free: 257.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009393/10.16, allocations: 159.9 kB / 4.138 GB, free: 257.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.413e-06/10.16, allocations: 0 / 4.138 GB, free: 257.4 MB / 1.167 GB Notification: Performance of Templates: time 0.09579/10.26, allocations: 43.87 MB / 4.181 GB, free: 256.6 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