Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001356/0.001356, allocations: 165.1 kB / 498.1 MB, free: 5.695 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.871/1.871, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.0009712/0.0009716, allocations: 105 kB / 0.9346 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005015, allocations: 8.969 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4389, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.509/6.948, allocations: 2.195 GB / 3.418 GB, free: 291.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/6.948, allocations: 91.95 kB / 3.418 GB, free: 291.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.21/9.158, allocations: 0.6454 GB / 4.063 GB, free: 86.77 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.974e-06/9.158, allocations: 0 / 4.063 GB, free: 86.77 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002679/9.158, allocations: 59.98 kB / 4.063 GB, free: 86.71 MB / 1.167 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.008803/9.167, allocations: 3.148 MB / 4.066 GB, free: 83.48 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/9.167, allocations: 8.031 kB / 4.066 GB, free: 83.47 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/9.17, allocations: 459.7 kB / 4.067 GB, free: 83.02 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007653/9.178, allocations: 2.726 MB / 4.07 GB, free: 80.23 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/9.178, allocations: 140.3 kB / 4.07 GB, free: 80.08 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/9.178, allocations: 139.9 kB / 4.07 GB, free: 79.95 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/9.181, allocations: 1.457 MB / 4.071 GB, free: 78.44 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/9.181, allocations: 4 kB / 4.071 GB, free: 78.44 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/9.181, allocations: 51.98 kB / 4.071 GB, free: 78.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/9.181, allocations: 46.44 kB / 4.071 GB, free: 78.34 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/9.183, allocations: 1.196 MB / 4.073 GB, free: 77.14 MB / 1.167 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.0103/9.193, allocations: 6.673 MB / 4.079 GB, free: 70.05 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/9.195, allocations: 1.175 MB / 4.08 GB, free: 68.85 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/9.196, allocations: 296.3 kB / 4.08 GB, free: 68.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009881/9.197, allocations: 0.658 MB / 4.081 GB, free: 67.84 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 3.106e-06/9.197, allocations: 0 / 4.081 GB, free: 67.84 MB / 1.167 GB Notification: Performance of matching and sorting (n=113): time 0.005072/9.202, allocations: 2.349 MB / 4.083 GB, free: 65.44 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/9.202, allocations: 60.41 kB / 4.083 GB, free: 65.37 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006132/9.208, allocations: 3.586 MB / 4.087 GB, free: 61.77 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003184/9.208, allocations: 53.7 kB / 4.087 GB, free: 61.71 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/9.209, allocations: 1.275 MB / 4.088 GB, free: 60.43 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/9.21, allocations: 378.7 kB / 4.089 GB, free: 60.05 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/9.21, allocations: 28 kB / 4.089 GB, free: 60.03 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001013/9.21, allocations: 353.9 kB / 4.089 GB, free: 59.68 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000886/9.211, allocations: 0.4905 MB / 4.089 GB, free: 59.18 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000938/9.212, allocations: 0.7653 MB / 4.09 GB, free: 58.31 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/9.213, allocations: 0.5869 MB / 4.091 GB, free: 57.73 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/9.213, allocations: 15.88 kB / 4.091 GB, free: 57.71 MB / 1.167 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003492/9.216, allocations: 1.776 MB / 4.093 GB, free: 55.92 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/9.216, allocations: 9.406 kB / 4.093 GB, free: 55.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/9.216, allocations: 8 kB / 4.093 GB, free: 55.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/9.217, allocations: 222 kB / 4.093 GB, free: 55.68 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/9.218, allocations: 251.7 kB / 4.093 GB, free: 55.44 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/9.221, allocations: 4.286 MB / 4.097 GB, free: 50.88 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/9.224, allocations: 214.8 kB / 4.097 GB, free: 50.67 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/9.224, allocations: 55.98 kB / 4.097 GB, free: 50.61 MB / 1.167 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 () * 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.001776/9.225, allocations: 0.8138 MB / 4.098 GB, free: 49.79 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007374/9.226, allocations: 288.5 kB / 4.099 GB, free: 49.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/9.229, allocations: 1.663 MB / 4.1 GB, free: 47.82 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/9.229, allocations: 12 kB / 4.1 GB, free: 47.81 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/9.229, allocations: 4 kB / 4.1 GB, free: 47.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001965/9.231, allocations: 1.44 MB / 4.102 GB, free: 46.31 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008004/9.239, allocations: 4.16 MB / 4.106 GB, free: 42.06 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/9.239, allocations: 0 / 4.106 GB, free: 42.06 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/9.24, allocations: 171.8 kB / 4.106 GB, free: 41.89 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005114/9.241, allocations: 226.7 kB / 4.106 GB, free: 41.67 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/9.241, allocations: 31.98 kB / 4.106 GB, free: 41.64 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/9.244, allocations: 4.272 MB / 4.11 GB, free: 37.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/9.244, allocations: 4.031 kB / 4.11 GB, free: 37.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/9.248, allocations: 2.447 MB / 4.113 GB, free: 34.58 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/9.25, allocations: 0.6377 MB / 4.113 GB, free: 33.92 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/9.251, allocations: 32 kB / 4.113 GB, free: 33.89 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009964/9.252, allocations: 123.8 kB / 4.113 GB, free: 33.77 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/9.252, allocations: 100.8 kB / 4.113 GB, free: 33.67 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.067e-05/9.252, allocations: 47.97 kB / 4.114 GB, free: 33.62 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003807/9.256, allocations: 2.846 MB / 4.116 GB, free: 30.78 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/9.256, allocations: 0 / 4.116 GB, free: 30.78 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003504/9.259, allocations: 0.7801 MB / 4.117 GB, free: 30 MB / 1.167 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) * Number of clocked states: 0 () * 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.003434/9.263, allocations: 1.782 MB / 4.119 GB, free: 28.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002875/9.266, allocations: 1.526 MB / 4.12 GB, free: 26.75 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/9.266, allocations: 0 / 4.12 GB, free: 26.75 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/9.267, allocations: 0.9328 MB / 4.121 GB, free: 25.79 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/9.271, allocations: 0.5362 MB / 4.122 GB, free: 25.27 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/9.282, allocations: 6.82 MB / 4.128 GB, free: 18.41 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/9.284, allocations: 1.985 MB / 4.13 GB, free: 16.39 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001814/9.285, allocations: 434.6 kB / 4.131 GB, free: 15.96 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/9.286, allocations: 159.3 kB / 4.131 GB, free: 15.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.703e-06/9.286, allocations: 0 / 4.131 GB, free: 15.8 MB / 1.167 GB Notification: Performance of Templates: time 0.8577/10.14, allocations: 43.85 MB / 4.174 GB, free: 271.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches