Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9723/0.9723, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.487/2.487, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.[0-9,]+.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.[0-9,]+.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.217e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1319/0.1319, allocations: 138.8 MB / 0.9741 GB, free: 2.859 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02077/0.1527, allocations: 19.87 MB / 0.9935 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.1545, allocations: 71.44 kB / 0.9936 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.156, allocations: 1.34 MB / 0.9949 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.1578, allocations: 1.07 MB / 0.9959 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009092/0.1587, allocations: 414.8 kB / 0.9963 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.1602, allocations: 1.496 MB / 0.9978 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008575/0.161, allocations: 0.6822 MB / 0.9985 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.1629, allocations: 1.987 MB / 1 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005864/0.1635, allocations: 457.4 kB / 1.001 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.1636, allocations: 76 kB / 1.001 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.1639, allocations: 127.9 kB / 1.001 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.1642, allocations: 412.6 kB / 1.001 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.1645, allocations: 343.5 kB / 1.002 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.1656, allocations: 0.9921 MB / 1.003 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1656, allocations: 4 kB / 1.003 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1656, allocations: 3.938 kB / 1.003 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.494e-05/0.1656, allocations: 0 / 1.003 GB, free: 5.453 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001757/0.1674, allocations: 1.658 MB / 1.004 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1674, allocations: 12.62 kB / 1.004 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.1676, allocations: 140.8 kB / 1.004 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.1687, allocations: 0.9469 MB / 1.005 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/0.1688, allocations: 100.4 kB / 1.006 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.834e-05/0.1689, allocations: 52 kB / 1.006 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.1694, allocations: 406.3 kB / 1.006 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1694, allocations: 0 / 1.006 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.1694, allocations: 31.97 kB / 1.006 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.1694, allocations: 12 kB / 1.006 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.1697, allocations: 133.7 kB / 1.006 GB, free: 1.84 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.1713, allocations: 1.259 MB / 1.007 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.1717, allocations: 282.6 kB / 1.008 GB, free: 260 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.1718, allocations: 133.5 kB / 1.008 GB, free: 124 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1719, allocations: 8.375 kB / 1.008 GB, free: 116 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.1721, allocations: 208.8 kB / 1.008 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=52): time 2.405e-06/0.1721, allocations: 0 / 1.008 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of matching and sorting (n=52): time 0.001172/0.1733, allocations: 0.6385 MB / 1.009 GB, free: 15.24 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.1733, allocations: 59.91 kB / 1.009 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/0.1742, allocations: 1.012 MB / 1.01 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.1742, allocations: 41.7 kB / 1.01 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1744, allocations: 354.9 kB / 1.01 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.1745, allocations: 178.5 kB / 1.01 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1746, allocations: 106.3 kB / 1.01 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.1747, allocations: 333.9 kB / 1.011 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1748, allocations: 60.11 kB / 1.011 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1749, allocations: 181 kB / 1.011 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.1752, allocations: 279.1 kB / 1.011 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1752, allocations: 0 / 1.011 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005279/0.1757, allocations: 446.2 kB / 1.012 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1758, allocations: 7.984 kB / 1.012 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1758, allocations: 4 kB / 1.012 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.1761, allocations: 127.5 kB / 1.012 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.1763, allocations: 99.88 kB / 1.012 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.1779, allocations: 2.095 MB / 1.014 GB, free: 9.672 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.1781, allocations: 71.59 kB / 1.014 GB, free: 9.602 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.1781, allocations: 16 kB / 1.014 GB, free: 9.586 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.1783, allocations: 155.1 kB / 1.014 GB, free: 9.426 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-05/0.1784, allocations: 95.83 kB / 1.014 GB, free: 9.332 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.1789, allocations: 437.2 kB / 1.015 GB, free: 8.891 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1789, allocations: 8 kB / 1.015 GB, free: 8.883 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1789, allocations: 0 / 1.015 GB, free: 8.883 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.179, allocations: 3.984 kB / 1.015 GB, free: 8.879 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.18, allocations: 0.926 MB / 1.015 GB, free: 7.914 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.18, allocations: 0 / 1.015 GB, free: 7.914 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.1801, allocations: 51.91 kB / 1.015 GB, free: 7.863 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/0.1804, allocations: 199.5 kB / 1.016 GB, free: 7.66 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.1805, allocations: 15.98 kB / 1.016 GB, free: 7.645 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.1825, allocations: 3.35 MB / 1.019 GB, free: 4.117 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1825, allocations: 3.984 kB / 1.019 GB, free: 4.113 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.1831, allocations: 0.6144 MB / 1.02 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.1833, allocations: 134.9 kB / 1.02 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-05/0.1834, allocations: 19.92 kB / 1.02 GB, free: 3.312 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.1835, allocations: 23.98 kB / 1.02 GB, free: 3.289 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/0.1836, allocations: 64.38 kB / 1.02 GB, free: 3.227 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.1837, allocations: 12 kB / 1.02 GB, free: 3.215 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004018/0.1841, allocations: 0.5179 MB / 1.02 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1841, allocations: 0 / 1.02 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005353/0.1846, allocations: 231.6 kB / 1.021 GB, free: 2.469 MB / 0.9792 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/0.1859, allocations: 0.6048 MB / 1.021 GB, free: 2.133 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006018/0.1865, allocations: 483.8 kB / 1.022 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/0.1865, allocations: 16.69 kB / 1.022 GB, free: 1.629 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.1869, allocations: 465.6 kB / 1.022 GB, free: 1.145 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.1875, allocations: 274.6 kB / 1.022 GB, free: 0.8867 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.1901, allocations: 2.158 MB / 1.024 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.1903, allocations: 311.2 kB / 1.025 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003654/0.1907, allocations: 209.2 kB / 1.025 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.191, allocations: 285.2 kB / 1.025 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of SimCode: time 9.91e-07/0.191, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of Templates: time 0.01962/0.2107, allocations: 13.73 MB / 1.039 GB, free: 400 kB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.200570351909846]