Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.00103/0.00103, allocations: 80.88 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.001184/0.001184, allocations: 181 kB / 23.35 MB, free: 1.137 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 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.469/2.469, allocations: 438.8 MB / 0.6826 GB, free: 13.57 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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.243e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1392/0.1393, allocations: 138.6 MB / 0.9739 GB, free: 3.055 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02125/0.1605, allocations: 19.75 MB / 0.9932 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.1626, allocations: 71.44 kB / 0.9933 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.1643, allocations: 1.16 MB / 0.9944 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.1659, allocations: 0.9295 MB / 0.9953 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009361/0.1668, allocations: 370.8 kB / 0.9957 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.1682, allocations: 1.305 MB / 0.9969 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000865/0.1691, allocations: 0.5608 MB / 0.9975 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.1715, allocations: 1.627 MB / 0.9991 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.172, allocations: 394 kB / 0.9995 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.783e-05/0.1721, allocations: 64 kB / 0.9995 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.1724, allocations: 116 kB / 0.9996 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.1726, allocations: 348.8 kB / 1 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.1728, allocations: 299.7 kB / 1 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009118/0.1738, allocations: 0.8753 MB / 1.001 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1738, allocations: 0 / 1.001 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1738, allocations: 0 / 1.001 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.1738, allocations: 0 / 1.001 GB, free: 7.133 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00171/0.1755, allocations: 1.424 MB / 1.002 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1755, allocations: 12.62 kB / 1.003 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.1757, allocations: 112.8 kB / 1.003 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009096/0.1766, allocations: 0.8225 MB / 1.003 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.1767, allocations: 96.39 kB / 1.004 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.1767, allocations: 47.98 kB / 1.004 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.1771, allocations: 370.4 kB / 1.004 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1771, allocations: 3.953 kB / 1.004 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.1772, allocations: 16 kB / 1.004 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1772, allocations: 16 kB / 1.004 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.1774, allocations: 129.7 kB / 1.004 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.1789, allocations: 1.194 MB / 1.005 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.1793, allocations: 255 kB / 1.005 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.1794, allocations: 116.7 kB / 1.006 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1795, allocations: 8.328 kB / 1.006 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.1797, allocations: 181.7 kB / 1.006 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=45): time 2.745e-06/0.1797, allocations: 3.938 kB / 1.006 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of matching and sorting (n=45): time 0.001082/0.1808, allocations: 0.5783 MB / 1.006 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1808, allocations: 63.34 kB / 1.006 GB, free: 1.492 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.1815, allocations: 0.9631 MB / 1.007 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.1815, allocations: 37.7 kB / 1.007 GB, free: 488 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1817, allocations: 325 kB / 1.008 GB, free: 160 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.1818, allocations: 154.8 kB / 1.008 GB, free: 4 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1819, allocations: 98.22 kB / 1.008 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.182, allocations: 325.9 kB / 1.008 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.182, allocations: 60.11 kB / 1.008 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.1824, allocations: 161.9 kB / 1.008 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.1827, allocations: 272.5 kB / 1.009 GB, free: 15.01 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1827, allocations: 4 kB / 1.009 GB, free: 15.01 MB / 0.9792 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004771/0.1832, allocations: 405.4 kB / 1.009 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1832, allocations: 8 kB / 1.009 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1832, allocations: 4 kB / 1.009 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.1835, allocations: 121.8 kB / 1.009 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.1837, allocations: 95.88 kB / 1.009 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.1853, allocations: 2.073 MB / 1.011 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.1855, allocations: 63.64 kB / 1.011 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.1855, allocations: 15.94 kB / 1.011 GB, free: 12.14 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: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.1857, allocations: 146.5 kB / 1.012 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.1857, allocations: 83.94 kB / 1.012 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/0.1862, allocations: 390.8 kB / 1.012 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1862, allocations: 7.938 kB / 1.012 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1862, allocations: 4 kB / 1.012 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.1862, allocations: 7.938 kB / 1.012 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/0.1872, allocations: 0.8108 MB / 1.013 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1872, allocations: 0 / 1.013 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.1873, allocations: 67.88 kB / 1.013 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/0.1876, allocations: 188.1 kB / 1.013 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.1877, allocations: 15.98 kB / 1.013 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.1899, allocations: 3.333 MB / 1.016 GB, free: 6.863 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1899, allocations: 3.938 kB / 1.016 GB, free: 6.859 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.1905, allocations: 0.5576 MB / 1.017 GB, free: 6.277 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.1907, allocations: 111.1 kB / 1.017 GB, free: 6.168 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.1907, allocations: 19.92 kB / 1.017 GB, free: 6.148 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1909, allocations: 23.98 kB / 1.017 GB, free: 6.125 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.191, allocations: 56.39 kB / 1.017 GB, free: 6.066 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.191, allocations: 15.98 kB / 1.017 GB, free: 6.051 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000348/0.1914, allocations: 434.4 kB / 1.018 GB, free: 5.621 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1914, allocations: 0 / 1.018 GB, free: 5.621 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005423/0.1919, allocations: 211.7 kB / 1.018 GB, free: 5.414 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.001326/0.1932, allocations: 0.6105 MB / 1.018 GB, free: 5.074 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006067/0.1938, allocations: 430.5 kB / 1.019 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.1938, allocations: 15.94 kB / 1.019 GB, free: 4.621 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.1942, allocations: 453.6 kB / 1.019 GB, free: 4.152 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.1948, allocations: 230.6 kB / 1.019 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.1972, allocations: 1.851 MB / 1.021 GB, free: 2.031 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1974, allocations: 263.6 kB / 1.021 GB, free: 1.754 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003512/0.1978, allocations: 175.8 kB / 1.022 GB, free: 1.578 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.1982, allocations: 257.2 kB / 1.022 GB, free: 1.324 MB / 0.9792 GB Notification: Performance of SimCode: time 1.382e-06/0.1982, allocations: 0 / 1.022 GB, free: 1.324 MB / 0.9792 GB Notification: Performance of Templates: time 0.01797/0.2161, allocations: 12.41 MB / 1.034 GB, free: 5.156 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.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.3112405319698155]