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.442/2.442, allocations: 390.5 MB / 398 MB, free: 10.98 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.001592/0.001592, allocations: 176.9 kB / 491.2 MB, free: 1.586 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.919/1.919, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.001145/0.001145, allocations: 83.91 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.455e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3213, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.865/6.186, allocations: 2.195 GB / 3.407 GB, free: 105.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/6.186, allocations: 88.61 kB / 3.407 GB, free: 105.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.849/9.036, allocations: 0.6379 GB / 4.045 GB, free: 281 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.254e-06/9.036, allocations: 0 / 4.045 GB, free: 281 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004767/9.036, allocations: 63.73 kB / 4.046 GB, free: 281 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.007798/9.044, allocations: 2.64 MB / 4.048 GB, free: 279.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/9.044, allocations: 13.19 kB / 4.048 GB, free: 279.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/9.047, allocations: 460.8 kB / 4.049 GB, free: 279.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007582/9.054, allocations: 2.696 MB / 4.051 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/9.055, allocations: 92.91 kB / 4.051 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005519/9.055, allocations: 80.88 kB / 4.051 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002783/9.058, allocations: 1.047 MB / 4.052 GB, free: 279.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/9.061, allocations: 1.228 MB / 4.054 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.559e-05/9.061, allocations: 3.25 kB / 4.054 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/9.061, allocations: 2.812 kB / 4.054 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/9.061, allocations: 42.28 kB / 4.054 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.01129/9.073, allocations: 6.432 MB / 4.06 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/9.074, allocations: 1.049 MB / 4.061 GB, free: 276.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/9.075, allocations: 0.5659 MB / 4.061 GB, free: 276.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/9.076, allocations: 298.8 kB / 4.062 GB, free: 276.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008588/9.077, allocations: 0.5745 MB / 4.062 GB, free: 276 MB / 1.151 GB Notification: Performance of pre-optimization done (n=113): time 3.667e-06/9.077, allocations: 5.625 kB / 4.062 GB, free: 276 MB / 1.151 GB Notification: Performance of matching and sorting (n=113): time 0.003266/9.08, allocations: 1.414 MB / 4.064 GB, free: 275.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/9.08, allocations: 67.06 kB / 4.064 GB, free: 275.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007168/9.087, allocations: 3.364 MB / 4.067 GB, free: 275.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005024/9.088, allocations: 32.11 kB / 4.067 GB, free: 275.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001533/9.089, allocations: 1.309 MB / 4.068 GB, free: 275.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000718/9.09, allocations: 358.7 kB / 4.069 GB, free: 274.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/9.09, allocations: 0 / 4.069 GB, free: 274.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001642/9.09, allocations: 351.2 kB / 4.069 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000856/9.091, allocations: 402.8 kB / 4.069 GB, free: 274.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/9.092, allocations: 0.6668 MB / 4.07 GB, free: 274.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/9.093, allocations: 0.5283 MB / 4.071 GB, free: 274.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/9.093, allocations: 0 / 4.071 GB, free: 274.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00421/9.098, allocations: 1.552 MB / 4.072 GB, free: 274.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/9.098, allocations: 7.875 kB / 4.072 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/9.098, allocations: 7.094 kB / 4.072 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/9.098, allocations: 218.7 kB / 4.072 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/9.099, allocations: 252.6 kB / 4.073 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/9.103, allocations: 4.03 MB / 4.076 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/9.105, allocations: 181.5 kB / 4.077 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/9.106, allocations: 54.81 kB / 4.077 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.0003753/9.106, allocations: 150.4 kB / 4.077 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/9.107, allocations: 279.7 kB / 4.077 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/9.111, allocations: 1.521 MB / 4.079 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/9.111, allocations: 14.17 kB / 4.079 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/9.111, allocations: 7.75 kB / 4.079 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002065/9.113, allocations: 1.31 MB / 4.08 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008769/9.121, allocations: 3.839 MB / 4.084 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/9.122, allocations: 1.719 kB / 4.084 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007714/9.122, allocations: 170.7 kB / 4.084 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004996/9.123, allocations: 210.8 kB / 4.084 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/9.123, allocations: 16.92 kB / 4.084 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/9.127, allocations: 4.046 MB / 4.088 GB, free: 265.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/9.127, allocations: 0 / 4.088 GB, free: 265.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/9.131, allocations: 2.253 MB / 4.09 GB, free: 264.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/9.133, allocations: 0.6264 MB / 4.091 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007488/9.133, allocations: 22.64 kB / 4.091 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/9.135, allocations: 107.1 kB / 4.091 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/9.135, allocations: 106.9 kB / 4.091 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/9.135, allocations: 44.09 kB / 4.091 GB, free: 263.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.005767/9.141, allocations: 2.628 MB / 4.094 GB, free: 262.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 4e-07/9.141, allocations: 0 / 4.094 GB, free: 262.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004006/9.145, allocations: 0.7184 MB / 4.094 GB, free: 262.7 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.003769/9.149, allocations: 1.829 MB / 4.096 GB, free: 262.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002695/9.152, allocations: 1.336 MB / 4.097 GB, free: 261.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/9.152, allocations: 0 / 4.097 GB, free: 261.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/9.153, allocations: 0.8428 MB / 4.098 GB, free: 261.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/9.157, allocations: 0.5201 MB / 4.099 GB, free: 261.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00991/9.167, allocations: 4.964 MB / 4.104 GB, free: 259.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/9.169, allocations: 1.978 MB / 4.106 GB, free: 258.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001919/9.171, allocations: 426.2 kB / 4.106 GB, free: 258.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007847/9.172, allocations: 158 kB / 4.106 GB, free: 258.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.313e-06/9.172, allocations: 0 / 4.106 GB, free: 258.7 MB / 1.151 GB Notification: Performance of Templates: time 0.06601/9.238, allocations: 33.02 MB / 4.138 GB, free: 248.5 MB / 1.151 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