Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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.RoomWithLatentGain,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.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,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.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.596/1.596, allocations: 249.5 MB / 257 MB, free: 6.957 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.001199/0.001199, allocations: 164.9 kB / 316.3 MB, free: 3.254 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.366/2.366, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001134/0.001134, allocations: 81.22 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.772e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3209, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.71/7.031, allocations: 2.473 GB / 3.358 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/7.031, allocations: 90.62 kB / 3.358 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.68/9.711, allocations: 0.6093 GB / 3.967 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.382e-06/9.711, allocations: 2.844 kB / 3.967 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004617/9.712, allocations: 65.67 kB / 3.967 GB, free: 176.8 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.008221/9.72, allocations: 2.63 MB / 3.97 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/9.72, allocations: 10.78 kB / 3.97 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/9.723, allocations: 464.6 kB / 3.97 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008122/9.731, allocations: 2.666 MB / 3.973 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/9.732, allocations: 95.06 kB / 3.973 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/9.732, allocations: 76.78 kB / 3.973 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002822/9.735, allocations: 1.05 MB / 3.974 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/9.738, allocations: 1.225 MB / 3.975 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.808e-05/9.738, allocations: 6.281 kB / 3.975 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/9.738, allocations: 7.875 kB / 3.975 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-05/9.738, allocations: 43.59 kB / 3.975 GB, free: 175 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.01127/9.75, allocations: 6.419 MB / 3.982 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/9.751, allocations: 1.055 MB / 3.983 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000824/9.752, allocations: 0.5652 MB / 3.983 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/9.753, allocations: 294.8 kB / 3.984 GB, free: 172 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009626/9.754, allocations: 0.5839 MB / 3.984 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=113): time 5.179e-06/9.754, allocations: 1.688 kB / 3.984 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=113): time 0.00338/9.757, allocations: 1.401 MB / 3.986 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/9.757, allocations: 72.53 kB / 3.986 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007426/9.765, allocations: 3.359 MB / 3.989 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000258/9.765, allocations: 35.89 kB / 3.989 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/9.766, allocations: 1.271 MB / 3.99 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000489/9.767, allocations: 357.5 kB / 3.99 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/9.767, allocations: 0 / 3.99 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001096/9.767, allocations: 358.9 kB / 3.991 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/9.768, allocations: 404.6 kB / 3.991 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/9.768, allocations: 0.642 MB / 3.992 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/9.77, allocations: 0.5162 MB / 3.992 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/9.77, allocations: 2.656 kB / 3.992 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003443/9.773, allocations: 1.55 MB / 3.994 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/9.773, allocations: 7.875 kB / 3.994 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/9.773, allocations: 7.719 kB / 3.994 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/9.774, allocations: 213.2 kB / 3.994 GB, free: 170 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009207/9.775, allocations: 251.5 kB / 3.994 GB, free: 170 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/9.778, allocations: 4.031 MB / 3.998 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/9.78, allocations: 176.3 kB / 3.998 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/9.781, allocations: 51 kB / 3.998 GB, free: 167.4 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.000359/9.781, allocations: 161.8 kB / 3.999 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/9.782, allocations: 279.2 kB / 3.999 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/9.785, allocations: 1.506 MB / 4 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/9.785, allocations: 10.69 kB / 4 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/9.786, allocations: 6.625 kB / 4 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002003/9.788, allocations: 1.308 MB / 4.002 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009497/9.797, allocations: 3.832 MB / 4.005 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/9.797, allocations: 0 / 4.005 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/9.798, allocations: 169.8 kB / 4.006 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000529/9.798, allocations: 208.2 kB / 4.006 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/9.799, allocations: 19.75 kB / 4.006 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00371/9.802, allocations: 4.061 MB / 4.01 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/9.802, allocations: 0 / 4.01 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004252/9.807, allocations: 2.281 MB / 4.012 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/9.808, allocations: 0.6315 MB / 4.013 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000781/9.809, allocations: 18.97 kB / 4.013 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/9.811, allocations: 99.75 kB / 4.013 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/9.811, allocations: 108.8 kB / 4.013 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/9.811, allocations: 41.08 kB / 4.013 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005029/9.816, allocations: 2.627 MB / 4.015 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/9.816, allocations: 1.969 kB / 4.015 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003732/9.82, allocations: 0.7208 MB / 4.016 GB, free: 162.6 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 (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.003647/9.824, allocations: 1.825 MB / 4.018 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002554/9.826, allocations: 1.319 MB / 4.019 GB, free: 162 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/9.826, allocations: 9.125 kB / 4.019 GB, free: 162 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/9.827, allocations: 0.8349 MB / 4.02 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/9.831, allocations: 0.5255 MB / 4.021 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/9.842, allocations: 4.954 MB / 4.025 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/9.844, allocations: 1.98 MB / 4.027 GB, free: 160 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001879/9.846, allocations: 427.7 kB / 4.028 GB, free: 160 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007304/9.847, allocations: 158.1 kB / 4.028 GB, free: 160 MB / 0.8698 GB Notification: Performance of SimCode: time 7.61e-07/9.847, allocations: 0 / 4.028 GB, free: 160 MB / 0.8698 GB Notification: Performance of Templates: time 0.0624/9.909, allocations: 32.98 MB / 4.06 GB, free: 157.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches