Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001729/0.001729, allocations: 114.4 kB / 17.07 MB, free: 5.965 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.001828/0.001828, allocations: 193.3 kB / 18.01 MB, free: 5.051 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.474/1.474, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.123/1.123, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 61.64 kB / 0.5724 GB, free: 38.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 80.69 MB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002557/0.1582, allocations: 1.378 MB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009774/0.1592, allocations: 0.5223 MB / 0.653 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.1593, allocations: 4 kB / 0.653 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.412e-05/0.1594, allocations: 11.92 kB / 0.6531 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.1598, allocations: 55.72 kB / 0.6531 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.1599, allocations: 35.89 kB / 0.6531 GB, free: 9.539 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.1603, allocations: 319.4 kB / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.1604, allocations: 8.125 kB / 0.6535 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.1605, allocations: 119.8 kB / 0.6536 GB, free: 9.102 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.1608, allocations: 155.7 kB / 0.6537 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.894e-05/0.1609, allocations: 16 kB / 0.6537 GB, free: 8.934 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.161, allocations: 43.92 kB / 0.6538 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.1612, allocations: 123.7 kB / 0.6539 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1614, allocations: 123.4 kB / 0.654 GB, free: 8.648 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.1617, allocations: 242.9 kB / 0.6542 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1617, allocations: 0 / 0.6542 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1617, allocations: 0 / 0.6542 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1617, allocations: 4 kB / 0.6542 GB, free: 8.406 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.00124/0.163, allocations: 0.5847 MB / 0.6548 GB, free: 7.773 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.163, allocations: 8.031 kB / 0.6548 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.1631, allocations: 32.75 kB / 0.6549 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.1634, allocations: 247.7 kB / 0.6551 GB, free: 7.453 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1634, allocations: 16.44 kB / 0.6551 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.1635, allocations: 31.94 kB / 0.6551 GB, free: 7.406 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005399/0.1641, allocations: 323 kB / 0.6554 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1641, allocations: 0 / 0.6554 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.1641, allocations: 12 kB / 0.6555 GB, free: 7.07 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1641, allocations: 7.984 kB / 0.6555 GB, free: 7.062 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.1647, allocations: 289.5 kB / 0.6557 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.1652, allocations: 391.3 kB / 0.6561 GB, free: 6.348 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.1671, allocations: 0.6807 MB / 0.6568 GB, free: 5.664 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.1675, allocations: 230 kB / 0.657 GB, free: 5.438 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.1677, allocations: 93.53 kB / 0.6571 GB, free: 5.328 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1677, allocations: 42.94 kB / 0.6571 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 2.044e-06/0.1677, allocations: 3.938 kB / 0.6571 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001293/0.169, allocations: 0.6879 MB / 0.6578 GB, free: 4.574 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.1691, allocations: 59.84 kB / 0.6579 GB, free: 4.504 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1692, allocations: 146.4 kB / 0.658 GB, free: 4.344 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.1693, allocations: 37.7 kB / 0.658 GB, free: 4.301 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.1694, allocations: 109.1 kB / 0.6581 GB, free: 4.188 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.1696, allocations: 214.2 kB / 0.6583 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.1698, allocations: 110.3 kB / 0.6584 GB, free: 3.863 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.1699, allocations: 342.8 kB / 0.6588 GB, free: 3.52 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.1703, allocations: 233.1 kB / 0.659 GB, free: 3.293 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.1707, allocations: 253.7 kB / 0.6592 GB, free: 3.043 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/0.1716, allocations: 0.5282 MB / 0.6598 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1716, allocations: 0 / 0.6598 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001049/0.1726, allocations: 0.6454 MB / 0.6604 GB, free: 1.859 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1727, allocations: 8 kB / 0.6604 GB, free: 1.852 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1727, allocations: 0 / 0.6604 GB, free: 1.852 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1727, allocations: 4 kB / 0.6604 GB, free: 1.848 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.1733, allocations: 143.8 kB / 0.6605 GB, free: 1.707 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1733, allocations: 4 kB / 0.6605 GB, free: 1.703 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.1735, allocations: 39.62 kB / 0.6606 GB, free: 1.664 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.1736, allocations: 31.98 kB / 0.6606 GB, free: 1.633 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.0002289/0.1738, allocations: 162.5 kB / 0.6608 GB, free: 1.465 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.1739, allocations: 23.86 kB / 0.6608 GB, free: 1.441 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.1752, allocations: 0.7244 MB / 0.6615 GB, free: 0.7148 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.1752, allocations: 11.94 kB / 0.6615 GB, free: 0.7031 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.1752, allocations: 3.984 kB / 0.6615 GB, free: 0.6992 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1752, allocations: 3.938 kB / 0.6615 GB, free: 0.6953 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.1758, allocations: 453.8 kB / 0.6619 GB, free: 208 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1758, allocations: 0 / 0.6619 GB, free: 208 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007491/0.1766, allocations: 155.9 kB / 0.6621 GB, free: 52 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.1766, allocations: 4 kB / 0.6621 GB, free: 48 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.1766, allocations: 23.97 kB / 0.6621 GB, free: 24 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.1767, allocations: 7.938 kB / 0.6621 GB, free: 16 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1767, allocations: 3.938 kB / 0.6621 GB, free: 12 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.1782, allocations: 0.9659 MB / 0.6631 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.1784, allocations: 176.8 kB / 0.6632 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-05/0.1785, allocations: 27.97 kB / 0.6633 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.1787, allocations: 8 kB / 0.6633 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.1788, allocations: 44.59 kB / 0.6633 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.1789, allocations: 19.98 kB / 0.6633 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.788e-05/0.1789, allocations: 111.2 kB / 0.6634 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.264e-06/0.179, allocations: 4 kB / 0.6634 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003578/0.1793, allocations: 131.9 kB / 0.6636 GB, free: 14.49 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002078/0.1795, allocations: 135 kB / 0.6637 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009987/0.1805, allocations: 0.5794 MB / 0.6643 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1806, allocations: 0 / 0.6643 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.181, allocations: 331.5 kB / 0.6646 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1814, allocations: 71.89 kB / 0.6647 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.184, allocations: 1.521 MB / 0.6661 GB, free: 11.83 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.1846, allocations: 0.8012 MB / 0.6669 GB, free: 11 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004087/0.185, allocations: 187.1 kB / 0.6671 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.1852, allocations: 47.42 kB / 0.6671 GB, free: 10.77 MB / 0.5139 GB Notification: Performance of SimCode: time 2.3e-07/0.1852, allocations: 0 / 0.6671 GB, free: 10.77 MB / 0.5139 GB Notification: Performance of Templates: time 0.01092/0.1961, allocations: 5.34 MB / 0.6724 GB, free: 5.477 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches