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.632/1.632, allocations: 249.3 MB / 261.8 MB, free: 5.816 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.001369/0.001369, allocations: 182 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.001358/0.001358, allocations: 92.62 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.782e-05/4.784e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.298, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.846/8.144, allocations: 2.472 GB / 3.364 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/8.145, allocations: 85.67 kB / 3.364 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.334/10.48, allocations: 0.6162 GB / 3.98 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.022e-06/10.48, allocations: 3.688 kB / 3.98 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002034/10.48, allocations: 66.28 kB / 3.981 GB, free: 177.1 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.005143/10.48, allocations: 2.63 MB / 3.983 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/10.48, allocations: 14.25 kB / 3.983 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/10.49, allocations: 461.3 kB / 3.984 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00716/10.49, allocations: 2.664 MB / 3.986 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/10.49, allocations: 145.2 kB / 3.986 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/10.49, allocations: 130 kB / 3.986 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/10.5, allocations: 1.408 MB / 3.988 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/10.5, allocations: 0 / 3.988 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/10.5, allocations: 54.23 kB / 3.988 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/10.5, allocations: 45.22 kB / 3.988 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/10.5, allocations: 1.113 MB / 3.989 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.01248/10.51, allocations: 6.672 MB / 3.996 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/10.51, allocations: 1.092 MB / 3.997 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000841/10.51, allocations: 0.5984 MB / 3.997 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004129/10.51, allocations: 293.5 kB / 3.997 GB, free: 172 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009973/10.52, allocations: 0.6191 MB / 3.998 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=113): time 3.817e-06/10.52, allocations: 3.719 kB / 3.998 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=113): time 0.003144/10.52, allocations: 1.425 MB / 3.999 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/10.52, allocations: 72.81 kB / 4 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007139/10.53, allocations: 3.543 MB / 4.003 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003214/10.53, allocations: 56.38 kB / 4.003 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/10.53, allocations: 1.271 MB / 4.004 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005622/10.53, allocations: 370.6 kB / 4.005 GB, free: 169 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/10.53, allocations: 25.88 kB / 4.005 GB, free: 169 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001252/10.53, allocations: 355.7 kB / 4.005 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008534/10.53, allocations: 429.9 kB / 4.005 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009793/10.53, allocations: 0.6753 MB / 4.006 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009414/10.53, allocations: 0.5177 MB / 4.007 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/10.53, allocations: 3.844 kB / 4.007 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003163/10.53, allocations: 1.634 MB / 4.008 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/10.53, allocations: 7.531 kB / 4.008 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/10.53, allocations: 7.219 kB / 4.008 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/10.53, allocations: 219.1 kB / 4.008 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/10.54, allocations: 248.1 kB / 4.009 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003895/10.54, allocations: 4.187 MB / 4.013 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/10.54, allocations: 207.2 kB / 4.013 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/10.54, allocations: 43.72 kB / 4.013 GB, free: 163.7 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.0004021/10.54, allocations: 199.6 kB / 4.013 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/10.54, allocations: 289.9 kB / 4.013 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/10.55, allocations: 1.565 MB / 4.015 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/10.55, allocations: 13.69 kB / 4.015 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/10.55, allocations: 3.875 kB / 4.015 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001979/10.55, allocations: 1.337 MB / 4.016 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008999/10.56, allocations: 4.06 MB / 4.02 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/10.56, allocations: 0 / 4.02 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/10.56, allocations: 175.9 kB / 4.02 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005523/10.56, allocations: 208.2 kB / 4.021 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/10.56, allocations: 38.19 kB / 4.021 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/10.56, allocations: 4.205 MB / 4.025 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/10.56, allocations: 7.703 kB / 4.025 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/10.57, allocations: 2.342 MB / 4.027 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/10.57, allocations: 0.6399 MB / 4.028 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008648/10.57, allocations: 33.91 kB / 4.028 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/10.57, allocations: 129.7 kB / 4.028 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/10.57, allocations: 102.6 kB / 4.028 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/10.57, allocations: 38.22 kB / 4.028 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005371/10.58, allocations: 2.806 MB / 4.031 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/10.58, allocations: 3.625 kB / 4.031 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003849/10.58, allocations: 0.7839 MB / 4.031 GB, free: 154.3 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.003602/10.59, allocations: 1.707 MB / 4.033 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002931/10.59, allocations: 1.402 MB / 4.034 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/10.59, allocations: 3.531 kB / 4.034 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/10.59, allocations: 0.8696 MB / 4.035 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/10.59, allocations: 0.5494 MB / 4.036 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/10.61, allocations: 5.027 MB / 4.041 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/10.61, allocations: 1.981 MB / 4.043 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002034/10.61, allocations: 434.4 kB / 4.043 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008688/10.61, allocations: 158.4 kB / 4.043 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.212e-06/10.61, allocations: 0 / 4.043 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.07777/10.69, allocations: 47.31 MB / 4.089 GB, free: 107.2 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