Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.VDI6007.TestCase9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.5 MB / 257 MB, free: 6.953 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.001027/0.001027, allocations: 172.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009317/0.0009317, allocations: 82.48 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.066e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2891, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.736/9.025, allocations: 2.469 GB / 3.354 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/9.026, allocations: 86.77 kB / 3.355 GB, free: 222 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.168/9.194, allocations: 82.03 MB / 3.435 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.635e-06/9.194, allocations: 4 kB / 3.435 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000198/9.194, allocations: 55.94 kB / 3.435 GB, free: 149.5 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004362/9.198, allocations: 2.505 MB / 3.437 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/9.199, allocations: 8.031 kB / 3.437 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007102/9.199, allocations: 356 kB / 3.437 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005561/9.205, allocations: 2.573 MB / 3.44 GB, free: 144 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/9.205, allocations: 87.67 kB / 3.44 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/9.205, allocations: 56 kB / 3.44 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/9.206, allocations: 0.7263 MB / 3.441 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/9.208, allocations: 0.825 MB / 3.442 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/9.208, allocations: 0 / 3.442 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/9.208, allocations: 4 kB / 3.442 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/9.208, allocations: 27.94 kB / 3.442 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007328/9.215, allocations: 4.698 MB / 3.446 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/9.216, allocations: 0.8763 MB / 3.447 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/9.217, allocations: 0.4995 MB / 3.448 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-05/9.217, allocations: 16.77 kB / 3.448 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007452/9.218, allocations: 0.5333 MB / 3.448 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 3.467e-06/9.218, allocations: 3.938 kB / 3.448 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.002799/9.221, allocations: 1.432 MB / 3.45 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/9.221, allocations: 68.7 kB / 3.45 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006997/9.228, allocations: 4.309 MB / 3.454 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003048/9.228, allocations: 33.7 kB / 3.454 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/9.229, allocations: 1.36 MB / 3.455 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/9.23, allocations: 323.3 kB / 3.455 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/9.23, allocations: 4 kB / 3.455 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001063/9.23, allocations: 349.9 kB / 3.456 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/9.23, allocations: 354.5 kB / 3.456 GB, free: 127 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/9.231, allocations: 0.5103 MB / 3.457 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006453/9.231, allocations: 422.3 kB / 3.457 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/9.231, allocations: 0 / 3.457 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003056/9.234, allocations: 1.494 MB / 3.459 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/9.235, allocations: 9.875 kB / 3.459 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/9.235, allocations: 4 kB / 3.459 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000922/9.235, allocations: 325.8 kB / 3.459 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/9.236, allocations: 195.7 kB / 3.459 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/9.241, allocations: 4.799 MB / 3.464 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/9.243, allocations: 135.1 kB / 3.464 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/9.243, allocations: 36 kB / 3.464 GB, free: 118.8 MB / 0.8698 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,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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete 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.0003449/9.244, allocations: 147.6 kB / 3.464 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000609/9.244, allocations: 320.1 kB / 3.464 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/9.247, allocations: 1.604 MB / 3.466 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/9.247, allocations: 12 kB / 3.466 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/9.247, allocations: 11.92 kB / 3.466 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/9.247, allocations: 7.922 kB / 3.466 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/9.254, allocations: 3.885 MB / 3.47 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/9.254, allocations: 0 / 3.47 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/9.254, allocations: 119.8 kB / 3.47 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008155/9.255, allocations: 326.2 kB / 3.47 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/9.255, allocations: 15.98 kB / 3.47 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004502/9.26, allocations: 4.787 MB / 3.475 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/9.26, allocations: 4.062 kB / 3.475 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/9.264, allocations: 2.167 MB / 3.477 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/9.265, allocations: 0.7077 MB / 3.478 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/9.266, allocations: 23.98 kB / 3.478 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000754/9.267, allocations: 63.94 kB / 3.478 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/9.267, allocations: 105.1 kB / 3.478 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/9.267, allocations: 35.98 kB / 3.478 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004572/9.272, allocations: 3.389 MB / 3.481 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/9.272, allocations: 0 / 3.481 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002121/9.274, allocations: 0.5929 MB / 3.482 GB, free: 100.2 MB / 0.8698 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) * 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) * 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.00183/9.276, allocations: 1.004 MB / 3.483 GB, free: 99.25 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002087/9.278, allocations: 1.264 MB / 3.484 GB, free: 97.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/9.278, allocations: 0 / 3.484 GB, free: 97.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/9.279, allocations: 0.8325 MB / 3.485 GB, free: 97.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/9.281, allocations: 330.4 kB / 3.485 GB, free: 96.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008285/9.289, allocations: 5.309 MB / 3.49 GB, free: 91.44 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/9.291, allocations: 2.023 MB / 3.492 GB, free: 89.38 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001502/9.292, allocations: 395.9 kB / 3.493 GB, free: 88.99 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/9.293, allocations: 155.3 kB / 3.493 GB, free: 88.84 MB / 0.8698 GB Notification: Performance of SimCode: time 2.265e-06/9.293, allocations: 0 / 3.493 GB, free: 88.84 MB / 0.8698 GB Notification: Performance of Templates: time 0.05129/9.344, allocations: 25.27 MB / 3.517 GB, free: 63.65 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches