Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.VDI6007.TestCase9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.571/2.571, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001254/0.001254, allocations: 185.6 kB / 498.1 MB, free: 5.758 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.714/1.714, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009895/0.0009894, allocations: 105.9 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 6.812 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3687, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.674/6.043, allocations: 2.191 GB / 3.414 GB, free: 295.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/6.043, allocations: 99.94 kB / 3.414 GB, free: 295.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1682/6.212, allocations: 84.41 MB / 3.497 GB, free: 210.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.534e-06/6.212, allocations: 4 kB / 3.497 GB, free: 210.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002225/6.212, allocations: 67.86 kB / 3.497 GB, free: 210.7 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00516/6.217, allocations: 3.084 MB / 3.5 GB, free: 207.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/6.217, allocations: 12.03 kB / 3.5 GB, free: 207.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006641/6.218, allocations: 351.6 kB / 3.5 GB, free: 207.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005799/6.224, allocations: 2.629 MB / 3.503 GB, free: 204.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/6.224, allocations: 111.7 kB / 3.503 GB, free: 204.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/6.224, allocations: 91.98 kB / 3.503 GB, free: 204.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/6.226, allocations: 0.9889 MB / 3.504 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/6.226, allocations: 0 / 3.504 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.709e-05/6.226, allocations: 39.98 kB / 3.504 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/6.226, allocations: 23.95 kB / 3.504 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/6.227, allocations: 0.8666 MB / 3.505 GB, free: 202.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007656/6.235, allocations: 4.891 MB / 3.51 GB, free: 197.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/6.237, allocations: 1.029 MB / 3.511 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/6.237, allocations: 20.89 kB / 3.511 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008855/6.238, allocations: 0.6062 MB / 3.511 GB, free: 195.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=104): time 3.947e-06/6.238, allocations: 0 / 3.511 GB, free: 195.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=104): time 0.005612/6.243, allocations: 2.591 MB / 3.514 GB, free: 192.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/6.243, allocations: 64.41 kB / 3.514 GB, free: 192.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00712/6.25, allocations: 4.552 MB / 3.518 GB, free: 188.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002527/6.251, allocations: 49.7 kB / 3.518 GB, free: 188.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009016/6.252, allocations: 1.357 MB / 3.52 GB, free: 186.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/6.252, allocations: 327.4 kB / 3.52 GB, free: 186.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/6.252, allocations: 24 kB / 3.52 GB, free: 186.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/6.252, allocations: 353.9 kB / 3.52 GB, free: 186.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007902/6.253, allocations: 438.4 kB / 3.521 GB, free: 185.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/6.254, allocations: 0.6145 MB / 3.521 GB, free: 185.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/6.254, allocations: 0.5004 MB / 3.522 GB, free: 184.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/6.255, allocations: 4 kB / 3.522 GB, free: 184.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00308/6.258, allocations: 1.741 MB / 3.523 GB, free: 182.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/6.258, allocations: 5.406 kB / 3.523 GB, free: 182.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/6.258, allocations: 11.89 kB / 3.523 GB, free: 182.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008607/6.259, allocations: 354.9 kB / 3.524 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/6.259, allocations: 195.6 kB / 3.524 GB, free: 182.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/6.264, allocations: 5.117 MB / 3.529 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/6.265, allocations: 155.1 kB / 3.529 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/6.265, allocations: 36 kB / 3.529 GB, free: 176.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001484/6.267, allocations: 0.8758 MB / 3.53 GB, free: 175.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006463/6.267, allocations: 328 kB / 3.53 GB, free: 175.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/6.27, allocations: 1.776 MB / 3.532 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/6.27, allocations: 12 kB / 3.532 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/6.27, allocations: 7.953 kB / 3.532 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/6.27, allocations: 7.922 kB / 3.532 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00727/6.278, allocations: 4.183 MB / 3.536 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/6.278, allocations: 0 / 3.536 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/6.278, allocations: 119.8 kB / 3.536 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007609/6.279, allocations: 338.6 kB / 3.537 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/6.279, allocations: 27.98 kB / 3.537 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00436/6.283, allocations: 5.105 MB / 3.542 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/6.283, allocations: 3.953 kB / 3.542 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/6.287, allocations: 2.375 MB / 3.544 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/6.289, allocations: 0.7194 MB / 3.545 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/6.289, allocations: 35.98 kB / 3.545 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007226/6.29, allocations: 87.78 kB / 3.545 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/6.29, allocations: 108.8 kB / 3.545 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/6.29, allocations: 35.98 kB / 3.545 GB, free: 160.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004285/6.295, allocations: 3.636 MB / 3.548 GB, free: 156.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/6.295, allocations: 3.938 kB / 3.548 GB, free: 156.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001828/6.297, allocations: 0.6205 MB / 3.549 GB, free: 155.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 26 ($whenCondition9,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/6.298, allocations: 1.002 MB / 3.55 GB, free: 155.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00235/6.301, allocations: 1.447 MB / 3.551 GB, free: 153.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/6.301, allocations: 0 / 3.551 GB, free: 153.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/6.302, allocations: 0.9322 MB / 3.552 GB, free: 152.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/6.304, allocations: 345.8 kB / 3.553 GB, free: 152.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/6.312, allocations: 7.055 MB / 3.56 GB, free: 145.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/6.314, allocations: 2.035 MB / 3.562 GB, free: 143.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001068/6.315, allocations: 388.2 kB / 3.562 GB, free: 142.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/6.315, allocations: 147.4 kB / 3.562 GB, free: 142.7 MB / 1.167 GB Notification: Performance of SimCode: time 7.71e-07/6.315, allocations: 0 / 3.562 GB, free: 142.7 MB / 1.167 GB Notification: Performance of Templates: time 0.04999/6.365, allocations: 31.92 MB / 3.593 GB, free: 110.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches