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.533/1.533, allocations: 249.3 MB / 261.9 MB, free: 5.887 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.001825/0.001826, allocations: 176.9 kB / 321.3 MB, free: 14.67 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.178/2.178, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.001272/0.001272, allocations: 90.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.634e-05/4.647e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2973, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.789/8.086, allocations: 2.473 GB / 3.364 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/8.086, allocations: 88.05 kB / 3.364 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.556/10.64, allocations: 0.6162 GB / 3.981 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/10.64, allocations: 0 / 3.981 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004829/10.64, allocations: 67.83 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.008319/10.65, allocations: 2.637 MB / 3.983 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/10.65, allocations: 13.81 kB / 3.983 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/10.65, allocations: 462.5 kB / 3.984 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008017/10.66, allocations: 2.665 MB / 3.986 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/10.66, allocations: 146.9 kB / 3.986 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005575/10.66, allocations: 129.5 kB / 3.987 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003912/10.67, allocations: 1.409 MB / 3.988 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.113e-05/10.67, allocations: 3.906 kB / 3.988 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/10.67, allocations: 53.53 kB / 3.988 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/10.67, allocations: 46.39 kB / 3.988 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/10.67, allocations: 1.113 MB / 3.989 GB, free: 174.9 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.01312/10.68, allocations: 6.668 MB / 3.996 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/10.69, allocations: 1.064 MB / 3.997 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/10.69, allocations: 0.5981 MB / 3.997 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004574/10.69, allocations: 293.4 kB / 3.998 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/10.69, allocations: 0.6183 MB / 3.998 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=112): time 4.799e-06/10.69, allocations: 7.156 kB / 3.998 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112): time 0.004027/10.69, allocations: 1.414 MB / 4 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/10.69, allocations: 72.44 kB / 4 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006856/10.7, allocations: 3.558 MB / 4.003 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00033/10.7, allocations: 51.33 kB / 4.003 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009862/10.7, allocations: 1.286 MB / 4.004 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/10.7, allocations: 375.1 kB / 4.005 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/10.7, allocations: 27.84 kB / 4.005 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/10.7, allocations: 352 kB / 4.005 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006621/10.7, allocations: 427 kB / 4.006 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000801/10.7, allocations: 0.6713 MB / 4.006 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/10.7, allocations: 0.5242 MB / 4.007 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/10.7, allocations: 3.625 kB / 4.007 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002718/10.71, allocations: 1.628 MB / 4.008 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/10.71, allocations: 6.875 kB / 4.008 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/10.71, allocations: 6.688 kB / 4.008 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/10.71, allocations: 224.7 kB / 4.008 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008612/10.71, allocations: 251.6 kB / 4.009 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/10.71, allocations: 4.19 MB / 4.013 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/10.71, allocations: 211 kB / 4.013 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/10.71, allocations: 53.89 kB / 4.013 GB, free: 164 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.0003475/10.71, allocations: 196.2 kB / 4.013 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000728/10.71, allocations: 291.6 kB / 4.014 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/10.72, allocations: 1.554 MB / 4.015 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/10.72, allocations: 14.38 kB / 4.015 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/10.72, allocations: 6.656 kB / 4.015 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001747/10.72, allocations: 1.339 MB / 4.016 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006759/10.73, allocations: 4.029 MB / 4.02 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/10.73, allocations: 2.562 kB / 4.02 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/10.73, allocations: 177.3 kB / 4.02 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000492/10.73, allocations: 210 kB / 4.021 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.95e-05/10.73, allocations: 31.66 kB / 4.021 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/10.73, allocations: 4.178 MB / 4.025 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/10.73, allocations: 6.328 kB / 4.025 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00367/10.73, allocations: 2.329 MB / 4.027 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/10.74, allocations: 0.6418 MB / 4.028 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/10.74, allocations: 44.28 kB / 4.028 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009934/10.74, allocations: 114.3 kB / 4.028 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/10.74, allocations: 107.7 kB / 4.028 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/10.74, allocations: 39.53 kB / 4.028 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003759/10.74, allocations: 2.815 MB / 4.031 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.3e-07/10.74, allocations: 3.938 kB / 4.031 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00309/10.74, allocations: 0.7863 MB / 4.032 GB, free: 154.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 (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.002983/10.75, allocations: 1.71 MB / 4.033 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002486/10.75, allocations: 1.402 MB / 4.035 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/10.75, allocations: 0 / 4.035 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/10.75, allocations: 0.8754 MB / 4.035 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/10.75, allocations: 0.5392 MB / 4.036 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008817/10.76, allocations: 5.026 MB / 4.041 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/10.77, allocations: 1.979 MB / 4.043 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001641/10.77, allocations: 434.3 kB / 4.043 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/10.77, allocations: 154.4 kB / 4.043 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.263e-06/10.77, allocations: 3.5 kB / 4.043 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.07196/10.84, allocations: 47.35 MB / 4.09 GB, free: 107.2 MB / 0.8698 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