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: 6.023 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.001239/0.001239, allocations: 191.8 kB / 18 MB, free: 5.109 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.406/1.406, 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.159/1.159, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 64.61 kB / 0.5724 GB, free: 38.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1652, 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.002143/0.1673, allocations: 1.39 MB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.1681, allocations: 0.5107 MB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.1681, allocations: 0 / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 4.376e-05/0.1682, allocations: 11.92 kB / 0.653 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1683, allocations: 51.75 kB / 0.6531 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 9.398e-05/0.1685, allocations: 43.81 kB / 0.6531 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1687, allocations: 323.3 kB / 0.6534 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 2.715e-05/0.1688, allocations: 8.188 kB / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1689, allocations: 115.8 kB / 0.6535 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1691, allocations: 155.6 kB / 0.6537 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.1691, allocations: 16 kB / 0.6537 GB, free: 8.945 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.1692, allocations: 39.95 kB / 0.6537 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1693, allocations: 123.7 kB / 0.6539 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1695, allocations: 123.4 kB / 0.654 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1697, allocations: 243.1 kB / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1697, allocations: 0 / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1697, allocations: 0 / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.1697, allocations: 4 kB / 0.6542 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.001017/0.1708, allocations: 0.5771 MB / 0.6548 GB, free: 7.797 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1708, allocations: 15.89 kB / 0.6548 GB, free: 7.781 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.1709, allocations: 28.66 kB / 0.6548 GB, free: 7.754 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.1711, allocations: 257.8 kB / 0.6551 GB, free: 7.465 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1712, allocations: 16.44 kB / 0.6551 GB, free: 7.449 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.1712, allocations: 27.91 kB / 0.6551 GB, free: 7.422 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.1717, allocations: 319.1 kB / 0.6554 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1717, allocations: 0 / 0.6554 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.1718, allocations: 8 kB / 0.6554 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1718, allocations: 8 kB / 0.6554 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.1722, allocations: 289.5 kB / 0.6557 GB, free: 6.805 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.1726, allocations: 395.2 kB / 0.6561 GB, free: 6.367 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.1743, allocations: 0.6819 MB / 0.6567 GB, free: 5.68 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.1747, allocations: 230 kB / 0.657 GB, free: 5.453 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.1749, allocations: 97.52 kB / 0.6571 GB, free: 5.34 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1749, allocations: 42.94 kB / 0.6571 GB, free: 5.289 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.483e-06/0.1749, allocations: 0 / 0.6571 GB, free: 5.289 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001084/0.176, allocations: 0.7035 MB / 0.6578 GB, free: 4.574 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.176, allocations: 55.84 kB / 0.6578 GB, free: 4.508 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1762, allocations: 157.4 kB / 0.658 GB, free: 4.34 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1762, allocations: 29.7 kB / 0.658 GB, free: 4.305 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.1763, allocations: 97.14 kB / 0.6581 GB, free: 4.203 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.1764, allocations: 208.9 kB / 0.6583 GB, free: 3.996 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.1766, allocations: 110.3 kB / 0.6584 GB, free: 3.883 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1767, allocations: 342.8 kB / 0.6587 GB, free: 3.539 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.177, allocations: 241.1 kB / 0.659 GB, free: 3.305 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.1774, allocations: 245.7 kB / 0.6592 GB, free: 3.062 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.1782, allocations: 0.5282 MB / 0.6597 GB, free: 2.531 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1782, allocations: 0 / 0.6597 GB, free: 2.531 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008749/0.179, allocations: 0.6491 MB / 0.6604 GB, free: 1.875 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1791, allocations: 8 kB / 0.6604 GB, free: 1.867 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1791, allocations: 0 / 0.6604 GB, free: 1.867 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1791, allocations: 0 / 0.6604 GB, free: 1.867 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.1796, allocations: 139.8 kB / 0.6605 GB, free: 1.73 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1796, allocations: 4 kB / 0.6605 GB, free: 1.727 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.1798, allocations: 51.47 kB / 0.6606 GB, free: 1.676 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.1799, allocations: 19.98 kB / 0.6606 GB, free: 1.656 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.0001518/0.18, allocations: 158.6 kB / 0.6607 GB, free: 1.492 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.1801, allocations: 23.72 kB / 0.6607 GB, free: 1.469 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.1812, allocations: 0.7282 MB / 0.6615 GB, free: 0.7383 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.1812, allocations: 11.94 kB / 0.6615 GB, free: 0.7266 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1812, allocations: 0 / 0.6615 GB, free: 0.7266 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1812, allocations: 3.984 kB / 0.6615 GB, free: 0.7227 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.1817, allocations: 457.6 kB / 0.6619 GB, free: 232 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1817, allocations: 4 kB / 0.6619 GB, free: 228 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/0.1825, allocations: 159.8 kB / 0.6621 GB, free: 68 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.1825, allocations: 4 kB / 0.6621 GB, free: 64 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.1825, allocations: 23.98 kB / 0.6621 GB, free: 40 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1825, allocations: 3.938 kB / 0.6621 GB, free: 36 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1825, allocations: 0 / 0.6621 GB, free: 36 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.1838, allocations: 0.9631 MB / 0.663 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.184, allocations: 176.6 kB / 0.6632 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.1841, allocations: 24 kB / 0.6632 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.1842, allocations: 11.98 kB / 0.6632 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.1843, allocations: 48.53 kB / 0.6633 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.1844, allocations: 20 kB / 0.6633 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.1844, allocations: 107.2 kB / 0.6634 GB, free: 14.65 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1844, allocations: 7.875 kB / 0.6634 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003164/0.1848, allocations: 124 kB / 0.6635 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.0001738/0.1849, allocations: 131.1 kB / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008318/0.1858, allocations: 0.5872 MB / 0.6642 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1858, allocations: 3.938 kB / 0.6642 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.1862, allocations: 327.6 kB / 0.6645 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.0002911/0.1865, allocations: 51.92 kB / 0.6646 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.1885, allocations: 1.511 MB / 0.6661 GB, free: 11.88 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1888, allocations: 0.8051 MB / 0.6669 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003418/0.1892, allocations: 171.1 kB / 0.667 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.1893, allocations: 51.42 kB / 0.6671 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of SimCode: time 2.41e-07/0.1893, allocations: 4 kB / 0.6671 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of Templates: time 0.008933/0.1983, allocations: 5.348 MB / 0.6723 GB, free: 5.527 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/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