Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 108.7 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 194.9 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.023/1.023, allocations: 119.3 MB / 411.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.45 kB / 0.573 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1651, allocations: 80.69 MB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002979/0.1681, allocations: 1.386 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1694, allocations: 0.5185 MB / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.1695, allocations: 0 / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1696, allocations: 7.922 kB / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.1699, allocations: 55.75 kB / 0.6538 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1702, allocations: 39.88 kB / 0.6538 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.1706, allocations: 319.3 kB / 0.6541 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.896e-05/0.1706, allocations: 4.188 kB / 0.6541 GB, free: 9.242 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.1709, allocations: 119.8 kB / 0.6542 GB, free: 9.125 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.1713, allocations: 163.6 kB / 0.6544 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.1713, allocations: 16 kB / 0.6544 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1715, allocations: 35.98 kB / 0.6544 GB, free: 8.914 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.1717, allocations: 123.6 kB / 0.6545 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.1719, allocations: 127.4 kB / 0.6547 GB, free: 8.668 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.1722, allocations: 251.1 kB / 0.6549 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1723, allocations: 0 / 0.6549 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1723, allocations: 0 / 0.6549 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.1723, allocations: 0 / 0.6549 GB, free: 8.422 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001322/0.1736, allocations: 0.5732 MB / 0.6555 GB, free: 7.801 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1737, allocations: 11.89 kB / 0.6555 GB, free: 7.789 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.1738, allocations: 28.66 kB / 0.6555 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1741, allocations: 251.6 kB / 0.6557 GB, free: 7.477 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.1742, allocations: 16.44 kB / 0.6558 GB, free: 7.461 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/0.1742, allocations: 35.89 kB / 0.6558 GB, free: 7.426 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.1748, allocations: 319 kB / 0.6561 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1748, allocations: 3.984 kB / 0.6561 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.1749, allocations: 4 kB / 0.6561 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1749, allocations: 8 kB / 0.6561 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.1753, allocations: 289.5 kB / 0.6564 GB, free: 6.809 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.1759, allocations: 399.2 kB / 0.6568 GB, free: 6.367 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.1776, allocations: 0.6796 MB / 0.6574 GB, free: 5.684 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.178, allocations: 230.7 kB / 0.6576 GB, free: 5.457 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.1782, allocations: 93.52 kB / 0.6577 GB, free: 5.348 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.1782, allocations: 42.94 kB / 0.6578 GB, free: 5.297 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.974e-06/0.1782, allocations: 0 / 0.6578 GB, free: 5.297 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001154/0.1794, allocations: 0.6956 MB / 0.6585 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1795, allocations: 55.84 kB / 0.6585 GB, free: 4.523 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1796, allocations: 153.4 kB / 0.6587 GB, free: 4.359 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.1796, allocations: 33.7 kB / 0.6587 GB, free: 4.32 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.1797, allocations: 101.1 kB / 0.6588 GB, free: 4.215 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.1799, allocations: 209 kB / 0.659 GB, free: 4.008 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.1801, allocations: 106.3 kB / 0.6591 GB, free: 3.898 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1802, allocations: 342.8 kB / 0.6594 GB, free: 3.555 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.1806, allocations: 237.1 kB / 0.6596 GB, free: 3.324 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.181, allocations: 249.7 kB / 0.6599 GB, free: 3.078 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007867/0.1818, allocations: 0.5359 MB / 0.6604 GB, free: 2.539 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1818, allocations: 0 / 0.6604 GB, free: 2.539 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009651/0.1828, allocations: 0.6413 MB / 0.661 GB, free: 1.891 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1828, allocations: 10.97 kB / 0.661 GB, free: 1.883 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1828, allocations: 0 / 0.661 GB, free: 1.883 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1828, allocations: 4 kB / 0.661 GB, free: 1.879 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.1834, allocations: 139.8 kB / 0.6612 GB, free: 1.742 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.1834, allocations: 11.88 kB / 0.6612 GB, free: 1.73 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.1836, allocations: 39.53 kB / 0.6612 GB, free: 1.691 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.1837, allocations: 16 kB / 0.6612 GB, free: 1.676 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.1839, allocations: 166.5 kB / 0.6614 GB, free: 1.504 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.1839, allocations: 31.7 kB / 0.6614 GB, free: 1.473 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.1852, allocations: 0.7166 MB / 0.6621 GB, free: 0.7539 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.1852, allocations: 8 kB / 0.6621 GB, free: 0.7461 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.1852, allocations: 7.922 kB / 0.6621 GB, free: 0.7383 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.1854, allocations: 160.6 kB / 0.6623 GB, free: 0.5625 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.1855, allocations: 19.98 kB / 0.6623 GB, free: 0.543 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1857, allocations: 12 kB / 0.6623 GB, free: 0.5312 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.1858, allocations: 48.53 kB / 0.6624 GB, free: 496 kB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001913/0.1877, allocations: 0.8714 MB / 0.6632 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001525/0.1893, allocations: 1.178 MB / 0.6644 GB, free: 14.41 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004365/0.1897, allocations: 316.9 kB / 0.6647 GB, free: 14.09 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.567e-05/0.1898, allocations: 111.2 kB / 0.6648 GB, free: 13.98 MB / 0.5139 GB Notification: Performance of Backend: time 4.01e-07/0.1898, allocations: 0 / 0.6648 GB, free: 13.98 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009425/0.1908, allocations: 461.8 kB / 0.6652 GB, free: 13.53 MB / 0.5139 GB Notification: Performance of SimCode: time 0.001877/0.1927, allocations: 1.727 MB / 0.6669 GB, free: 11.75 MB / 0.5139 GB Notification: Performance of Templates: time 0.0111/0.2038, allocations: 6.281 MB / 0.673 GB, free: 5.492 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches