Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,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.RoomWithoutLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,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.RoomWithoutLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 175.3 kB / 326.5 MB, free: 2.266 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.042/2.042, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009636/0.0009634, allocations: 90.31 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 9 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2759, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.475/6.751, allocations: 2.473 GB / 3.373 GB, free: 84.75 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/6.751, allocations: 93.86 kB / 3.373 GB, free: 84.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.19/8.941, allocations: 0.6168 GB / 3.99 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.714e-06/8.941, allocations: 0 / 3.99 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001944/8.941, allocations: 67.86 kB / 3.99 GB, free: 156 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.0053/8.946, allocations: 3.132 MB / 3.993 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/8.946, allocations: 11.97 kB / 3.993 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/8.948, allocations: 467.6 kB / 3.993 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005358/8.953, allocations: 2.698 MB / 3.996 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/8.953, allocations: 144.2 kB / 3.996 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/8.954, allocations: 135.9 kB / 3.996 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/8.956, allocations: 1.461 MB / 3.998 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/8.956, allocations: 11.88 kB / 3.998 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/8.956, allocations: 47.98 kB / 3.998 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/8.956, allocations: 46.45 kB / 3.998 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/8.958, allocations: 1.2 MB / 3.999 GB, free: 146.5 MB / 0.8855 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.008157/8.966, allocations: 6.669 MB / 4.005 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/8.968, allocations: 1.16 MB / 4.006 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003738/8.968, allocations: 296.3 kB / 4.007 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009044/8.969, allocations: 0.6569 MB / 4.007 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=112): time 2.945e-06/8.969, allocations: 0 / 4.007 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=112): time 0.004407/8.973, allocations: 2.326 MB / 4.01 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/8.973, allocations: 76.33 kB / 4.01 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004797/8.978, allocations: 3.59 MB / 4.013 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/8.978, allocations: 49.7 kB / 4.013 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008759/8.979, allocations: 1.287 MB / 4.015 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/8.98, allocations: 370.8 kB / 4.015 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/8.98, allocations: 24 kB / 4.015 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.545e-05/8.98, allocations: 361.9 kB / 4.015 GB, free: 129 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008044/8.981, allocations: 498.3 kB / 4.016 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008709/8.981, allocations: 0.7473 MB / 4.016 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/8.982, allocations: 0.5837 MB / 4.017 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/8.982, allocations: 4 kB / 4.017 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002735/8.985, allocations: 1.772 MB / 4.019 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/8.985, allocations: 8 kB / 4.019 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/8.985, allocations: 4 kB / 4.019 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/8.986, allocations: 224.4 kB / 4.019 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/8.987, allocations: 251.6 kB / 4.019 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/8.99, allocations: 4.289 MB / 4.023 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/8.991, allocations: 206.8 kB / 4.024 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/8.992, allocations: 48 kB / 4.024 GB, free: 120 MB / 0.8855 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 () * 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.001517/8.993, allocations: 0.8135 MB / 4.024 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004202/8.994, allocations: 288.4 kB / 4.025 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/8.997, allocations: 1.648 MB / 4.026 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/8.997, allocations: 12 kB / 4.026 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/8.997, allocations: 4 kB / 4.026 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002651/9, allocations: 1.424 MB / 4.028 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009063/9.009, allocations: 4.129 MB / 4.032 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/9.009, allocations: 0 / 4.032 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/9.01, allocations: 183.9 kB / 4.032 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000637/9.011, allocations: 211.4 kB / 4.032 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/9.011, allocations: 31.98 kB / 4.032 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004396/9.015, allocations: 4.284 MB / 4.036 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/9.015, allocations: 8.016 kB / 4.036 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/9.02, allocations: 2.469 MB / 4.039 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/9.022, allocations: 0.6494 MB / 4.039 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/9.023, allocations: 32 kB / 4.039 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/9.024, allocations: 119.8 kB / 4.04 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/9.025, allocations: 96.84 kB / 4.04 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/9.025, allocations: 47.97 kB / 4.04 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004887/9.03, allocations: 2.846 MB / 4.042 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.11e-07/9.03, allocations: 4 kB / 4.042 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003245/9.033, allocations: 0.7762 MB / 4.043 GB, free: 99.45 MB / 0.8855 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 86 * 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.003512/9.036, allocations: 1.772 MB / 4.045 GB, free: 97.83 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003257/9.04, allocations: 1.51 MB / 4.046 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/9.04, allocations: 4 kB / 4.046 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/9.041, allocations: 0.9254 MB / 4.047 GB, free: 95.34 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00373/9.045, allocations: 0.5469 MB / 4.048 GB, free: 94.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/9.056, allocations: 6.816 MB / 4.055 GB, free: 87.95 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/9.058, allocations: 1.981 MB / 4.056 GB, free: 85.94 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001908/9.06, allocations: 438.3 kB / 4.057 GB, free: 85.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/9.061, allocations: 155.3 kB / 4.057 GB, free: 85.35 MB / 0.8855 GB Notification: Performance of SimCode: time 1.283e-06/9.061, allocations: 0 / 4.057 GB, free: 85.35 MB / 0.8855 GB Notification: Performance of Templates: time 0.08682/9.148, allocations: 43.86 MB / 4.1 GB, free: 41.64 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches