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.0013/0.0013, allocations: 109.6 kB / 17.06 MB, free: 5.781 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.001223/0.001223, allocations: 194.1 kB / 18 MB, free: 4.945 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.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.106/1.106, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 61.44 kB / 0.5724 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1522, allocations: 80.69 MB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.00265/0.1549, allocations: 1.386 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009811/0.1559, allocations: 0.5146 MB / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.156, allocations: 0 / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.069e-05/0.1561, allocations: 15.92 kB / 0.653 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.1564, allocations: 51.73 kB / 0.6531 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.1565, allocations: 39.89 kB / 0.6531 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.1569, allocations: 319.4 kB / 0.6534 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.157, allocations: 8.125 kB / 0.6534 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.1572, allocations: 115.8 kB / 0.6536 GB, free: 9.125 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.1575, allocations: 163.6 kB / 0.6537 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.1575, allocations: 16 kB / 0.6537 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1577, allocations: 35.98 kB / 0.6538 GB, free: 8.914 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.1578, allocations: 127.7 kB / 0.6539 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.158, allocations: 123.4 kB / 0.654 GB, free: 8.668 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.1584, allocations: 246.9 kB / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1584, allocations: 0 / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1584, allocations: 0 / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.1584, allocations: 0 / 0.6542 GB, free: 8.426 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.001179/0.1596, allocations: 0.5886 MB / 0.6548 GB, free: 7.789 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1596, allocations: 11.89 kB / 0.6548 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.903e-05/0.1597, allocations: 28.75 kB / 0.6549 GB, free: 7.75 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.16, allocations: 255.7 kB / 0.6551 GB, free: 7.461 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1601, allocations: 16.44 kB / 0.6551 GB, free: 7.445 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/0.1601, allocations: 31.94 kB / 0.6551 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.1607, allocations: 315.1 kB / 0.6554 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1607, allocations: 0 / 0.6554 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.1607, allocations: 12 kB / 0.6555 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1608, allocations: 8 kB / 0.6555 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.1613, allocations: 289.5 kB / 0.6557 GB, free: 6.797 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.1618, allocations: 395.3 kB / 0.6561 GB, free: 6.359 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.1636, allocations: 0.6765 MB / 0.6568 GB, free: 5.68 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.164, allocations: 230 kB / 0.657 GB, free: 5.453 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.1642, allocations: 93.53 kB / 0.6571 GB, free: 5.344 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1642, allocations: 35 kB / 0.6571 GB, free: 5.301 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 3.526e-06/0.1642, allocations: 7.984 kB / 0.6571 GB, free: 5.293 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001228/0.1655, allocations: 0.6957 MB / 0.6578 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1655, allocations: 59.84 kB / 0.6579 GB, free: 4.516 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1657, allocations: 145.4 kB / 0.658 GB, free: 4.359 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.1657, allocations: 41.64 kB / 0.658 GB, free: 4.312 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.1658, allocations: 105.1 kB / 0.6581 GB, free: 4.203 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.166, allocations: 214.2 kB / 0.6583 GB, free: 3.992 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.1662, allocations: 110.3 kB / 0.6584 GB, free: 3.879 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1663, allocations: 346.8 kB / 0.6588 GB, free: 3.531 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.1667, allocations: 233.1 kB / 0.659 GB, free: 3.305 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.1671, allocations: 249.7 kB / 0.6592 GB, free: 3.059 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008286/0.168, allocations: 0.5282 MB / 0.6598 GB, free: 2.527 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.168, allocations: 0 / 0.6598 GB, free: 2.527 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009947/0.169, allocations: 0.6454 MB / 0.6604 GB, free: 1.875 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.169, allocations: 4 kB / 0.6604 GB, free: 1.871 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.169, allocations: 0 / 0.6604 GB, free: 1.871 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.169, allocations: 4 kB / 0.6604 GB, free: 1.867 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.1696, allocations: 143.8 kB / 0.6605 GB, free: 1.727 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1696, allocations: 7.984 kB / 0.6605 GB, free: 1.719 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1698, allocations: 43.62 kB / 0.6606 GB, free: 1.676 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.1698, allocations: 23.94 kB / 0.6606 GB, free: 1.652 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.000171/0.17, allocations: 166.5 kB / 0.6608 GB, free: 1.48 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.1701, allocations: 27.84 kB / 0.6608 GB, free: 1.453 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.1713, allocations: 0.7244 MB / 0.6615 GB, free: 0.7266 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.1714, allocations: 11.94 kB / 0.6615 GB, free: 0.7148 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1714, allocations: 0 / 0.6615 GB, free: 0.7148 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.1714, allocations: 7.984 kB / 0.6615 GB, free: 0.707 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.1719, allocations: 453.8 kB / 0.6619 GB, free: 220 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1719, allocations: 0 / 0.6619 GB, free: 220 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/0.1727, allocations: 155.8 kB / 0.6621 GB, free: 64 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1727, allocations: 4 kB / 0.6621 GB, free: 60 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.1728, allocations: 27.97 kB / 0.6621 GB, free: 32 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.1728, allocations: 7.938 kB / 0.6621 GB, free: 24 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1728, allocations: 0 / 0.6621 GB, free: 24 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.1743, allocations: 0.9633 MB / 0.6631 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.1745, allocations: 172.8 kB / 0.6632 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.1746, allocations: 19.98 kB / 0.6633 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1748, allocations: 16 kB / 0.6633 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/0.1749, allocations: 40.59 kB / 0.6633 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.175, allocations: 23.98 kB / 0.6633 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.11e-05/0.175, allocations: 111.2 kB / 0.6634 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.637e-06/0.1751, allocations: 0 / 0.6634 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003421/0.1754, allocations: 127.9 kB / 0.6636 GB, free: 14.52 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.0001974/0.1756, allocations: 135 kB / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009439/0.1766, allocations: 0.5833 MB / 0.6643 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.1766, allocations: 0 / 0.6643 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004769/0.1771, allocations: 327.5 kB / 0.6646 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1774, allocations: 63.89 kB / 0.6646 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.1797, allocations: 1.529 MB / 0.6661 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.1802, allocations: 0.8051 MB / 0.6669 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000371/0.1806, allocations: 175.1 kB / 0.6671 GB, free: 10.85 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.1807, allocations: 51.42 kB / 0.6671 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of SimCode: time 2.4e-07/0.1807, allocations: 4 kB / 0.6671 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of Templates: time 0.01038/0.1911, allocations: 5.344 MB / 0.6724 GB, free: 5.496 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