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.001443/0.001443, allocations: 107.3 kB / 17.06 MB, free: 6.102 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.001944/0.001944, allocations: 194.9 kB / 18 MB, free: 5.176 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.17/1.17, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.16 kB / 0.5724 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1782, allocations: 80.7 MB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.003741/0.182, allocations: 1.386 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1832, allocations: 0.5146 MB / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.1833, allocations: 0 / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.1834, allocations: 7.922 kB / 0.653 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.1838, allocations: 59.73 kB / 0.6531 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.184, allocations: 39.81 kB / 0.6531 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.1844, allocations: 319.4 kB / 0.6534 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.057e-05/0.1845, allocations: 4.188 kB / 0.6534 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1847, allocations: 119.8 kB / 0.6536 GB, free: 9.129 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1849, allocations: 163.6 kB / 0.6537 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.185, allocations: 16 kB / 0.6537 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1851, allocations: 35.97 kB / 0.6538 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.1853, allocations: 119.7 kB / 0.6539 GB, free: 8.801 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1855, allocations: 127.4 kB / 0.654 GB, free: 8.676 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.1858, allocations: 239.1 kB / 0.6542 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1858, allocations: 4 kB / 0.6542 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1858, allocations: 4 kB / 0.6542 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.1858, allocations: 0 / 0.6542 GB, free: 8.434 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.00122/0.187, allocations: 0.5693 MB / 0.6548 GB, free: 7.816 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1871, allocations: 15.89 kB / 0.6548 GB, free: 7.801 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.1872, allocations: 24.66 kB / 0.6548 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1875, allocations: 265.6 kB / 0.6551 GB, free: 7.48 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1876, allocations: 20.44 kB / 0.6551 GB, free: 7.461 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.472e-05/0.1877, allocations: 35.91 kB / 0.6551 GB, free: 7.426 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.1882, allocations: 315.1 kB / 0.6554 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1882, allocations: 0 / 0.6554 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.1883, allocations: 4 kB / 0.6554 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1883, allocations: 8 kB / 0.6554 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.1888, allocations: 285.5 kB / 0.6557 GB, free: 6.82 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.1893, allocations: 403.2 kB / 0.6561 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.1911, allocations: 0.6741 MB / 0.6568 GB, free: 5.695 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.1915, allocations: 242 kB / 0.657 GB, free: 5.457 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.1917, allocations: 89.53 kB / 0.6571 GB, free: 5.352 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1917, allocations: 39 kB / 0.6571 GB, free: 5.305 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.603e-06/0.1917, allocations: 3.938 kB / 0.6571 GB, free: 5.301 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001236/0.193, allocations: 0.6996 MB / 0.6578 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.193, allocations: 55.84 kB / 0.6579 GB, free: 4.523 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1932, allocations: 153 kB / 0.658 GB, free: 4.359 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.1932, allocations: 33.7 kB / 0.658 GB, free: 4.32 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.1933, allocations: 97.14 kB / 0.6581 GB, free: 4.219 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.1935, allocations: 216.9 kB / 0.6583 GB, free: 4.004 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.1937, allocations: 102.3 kB / 0.6584 GB, free: 3.898 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1939, allocations: 342.8 kB / 0.6588 GB, free: 3.555 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.1943, allocations: 241.1 kB / 0.659 GB, free: 3.32 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.1946, allocations: 241.7 kB / 0.6592 GB, free: 3.082 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007802/0.1954, allocations: 0.5282 MB / 0.6597 GB, free: 2.551 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.1954, allocations: 0 / 0.6597 GB, free: 2.551 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009686/0.1964, allocations: 0.653 MB / 0.6604 GB, free: 1.891 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1964, allocations: 8 kB / 0.6604 GB, free: 1.883 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.1965, allocations: 0 / 0.6604 GB, free: 1.883 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.1965, allocations: 4 kB / 0.6604 GB, free: 1.879 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.197, allocations: 139.8 kB / 0.6605 GB, free: 1.742 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.197, allocations: 4 kB / 0.6605 GB, free: 1.738 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.1972, allocations: 43.47 kB / 0.6606 GB, free: 1.695 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.1973, allocations: 19.98 kB / 0.6606 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.0001846/0.1974, allocations: 158.6 kB / 0.6607 GB, free: 1.512 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.1975, allocations: 35.7 kB / 0.6608 GB, free: 1.477 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.1988, allocations: 0.7204 MB / 0.6615 GB, free: 0.7539 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.1988, allocations: 11.94 kB / 0.6615 GB, free: 0.7422 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1988, allocations: 0 / 0.6615 GB, free: 0.7422 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.1989, allocations: 7.984 kB / 0.6615 GB, free: 0.7344 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.1994, allocations: 457.6 kB / 0.6619 GB, free: 244 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1995, allocations: 0 / 0.6619 GB, free: 244 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/0.2002, allocations: 159.8 kB / 0.6621 GB, free: 84 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.2002, allocations: 0 / 0.6621 GB, free: 84 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.2003, allocations: 23.98 kB / 0.6621 GB, free: 60 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.2003, allocations: 7.938 kB / 0.6621 GB, free: 52 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2003, allocations: 4 kB / 0.6621 GB, free: 48 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2017, allocations: 0.9593 MB / 0.663 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.2019, allocations: 176.6 kB / 0.6632 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.202, allocations: 20 kB / 0.6632 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.2021, allocations: 15.98 kB / 0.6632 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.2022, allocations: 48.53 kB / 0.6633 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.2023, allocations: 20 kB / 0.6633 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.024e-05/0.2024, allocations: 118.6 kB / 0.6634 GB, free: 14.65 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2024, allocations: 3.938 kB / 0.6634 GB, free: 14.65 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003386/0.2027, allocations: 119.9 kB / 0.6635 GB, free: 14.53 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.0002117/0.2029, allocations: 131.1 kB / 0.6637 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009009/0.2038, allocations: 0.5833 MB / 0.6642 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2039, allocations: 3.938 kB / 0.6642 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.2043, allocations: 331.6 kB / 0.6646 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.2046, allocations: 59.89 kB / 0.6646 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.2068, allocations: 1.499 MB / 0.6661 GB, free: 11.9 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.2072, allocations: 0.8129 MB / 0.6669 GB, free: 11.06 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003465/0.2075, allocations: 175.1 kB / 0.667 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.2077, allocations: 51.42 kB / 0.6671 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of SimCode: time 2.1e-07/0.2077, allocations: 0 / 0.6671 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of Templates: time 0.009918/0.2176, allocations: 5.348 MB / 0.6723 GB, free: 5.539 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