Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 111.1 kB / 17.75 MB, free: 5.359 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.001488/0.001488, allocations: 182.1 kB / 18.67 MB, free: 4.441 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.342/1.342, 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 0.9935/0.9935, allocations: 119.3 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 66.11 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.162, allocations: 80.69 MB / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002485/0.1646, allocations: 1.382 MB / 0.6532 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1658, allocations: 0.5146 MB / 0.6537 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.1658, allocations: 4 kB / 0.6537 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.513e-05/0.166, allocations: 7.922 kB / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.1663, allocations: 59.73 kB / 0.6538 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.1664, allocations: 31.89 kB / 0.6538 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008731/0.1673, allocations: 1.026 MB / 0.6548 GB, free: 8.543 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.38e-05/0.1674, allocations: 16.17 kB / 0.6548 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006049/0.168, allocations: 363.6 kB / 0.6551 GB, free: 8.172 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009226/0.1689, allocations: 0.5147 MB / 0.6557 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.1692, allocations: 56 kB / 0.6557 GB, free: 7.602 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.1695, allocations: 87.97 kB / 0.6558 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0005167/0.1701, allocations: 462.9 kB / 0.6562 GB, free: 7.062 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.1708, allocations: 453.9 kB / 0.6567 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.1719, allocations: 0.8174 MB / 0.6575 GB, free: 5.797 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1719, allocations: 3.984 kB / 0.6575 GB, free: 5.793 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1719, allocations: 0 / 0.6575 GB, free: 5.793 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.767e-05/0.172, allocations: 0 / 0.6575 GB, free: 5.793 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00316/0.1751, allocations: 1.285 MB / 0.6587 GB, free: 4.457 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.1752, allocations: 11.89 kB / 0.6587 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.1754, allocations: 84 kB / 0.6588 GB, free: 4.363 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/0.1761, allocations: 481.5 kB / 0.6593 GB, free: 3.852 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.527e-05/0.1761, allocations: 58 kB / 0.6593 GB, free: 3.797 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.1763, allocations: 119.7 kB / 0.6594 GB, free: 3.68 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.1781, allocations: 1.139 MB / 0.6606 GB, free: 2.535 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1781, allocations: 0 / 0.6606 GB, free: 2.535 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.1783, allocations: 35.98 kB / 0.6606 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.1783, allocations: 20 kB / 0.6606 GB, free: 2.48 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.1801, allocations: 1.261 MB / 0.6618 GB, free: 1.215 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.1816, allocations: 1.088 MB / 0.6629 GB, free: 76 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006258/0.1878, allocations: 2.785 MB / 0.6656 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.1891, allocations: 0.8772 MB / 0.6665 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/0.1895, allocations: 127 kB / 0.6666 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.1895, allocations: 52.56 kB / 0.6666 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 5.28e-06/0.1896, allocations: 7.938 kB / 0.6667 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.004343/0.1939, allocations: 2.644 MB / 0.6692 GB, free: 9.559 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.194, allocations: 77.39 kB / 0.6693 GB, free: 9.469 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.1943, allocations: 233 kB / 0.6695 GB, free: 9.23 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.1944, allocations: 53.7 kB / 0.6696 GB, free: 9.172 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1945, allocations: 131.3 kB / 0.6697 GB, free: 9.039 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000716/0.1952, allocations: 0.774 MB / 0.6705 GB, free: 8.254 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005243/0.1957, allocations: 376.3 kB / 0.6708 GB, free: 7.879 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1959, allocations: 329.9 kB / 0.6711 GB, free: 7.551 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.1973, allocations: 0.9177 MB / 0.672 GB, free: 6.629 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.1989, allocations: 0.9525 MB / 0.673 GB, free: 5.668 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/0.2022, allocations: 2.066 MB / 0.675 GB, free: 3.57 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.2022, allocations: 4 kB / 0.675 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003816/0.206, allocations: 2.43 MB / 0.6774 GB, free: 1.09 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2061, allocations: 8 kB / 0.6774 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.2061, allocations: 3.984 kB / 0.6774 GB, free: 1.078 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.669e-05/0.2061, allocations: 8 kB / 0.6774 GB, free: 1.07 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.2081, allocations: 0.5228 MB / 0.6779 GB, free: 0.5469 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.373e-05/0.2082, allocations: 11.98 kB / 0.6779 GB, free: 0.5352 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/0.209, allocations: 146.3 kB / 0.678 GB, free: 400 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.2091, allocations: 79.91 kB / 0.6781 GB, free: 320 kB / 0.5139 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 (284): * Single equations (assignments): 284 * 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.0004835/0.2096, allocations: 306.1 kB / 0.6784 GB, free: 4 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.2098, allocations: 87.23 kB / 0.6785 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00468/0.2145, allocations: 2.716 MB / 0.6811 GB, free: 13.14 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.802e-05/0.2146, allocations: 11.95 kB / 0.6812 GB, free: 13.13 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.2146, allocations: 0 / 0.6812 GB, free: 13.13 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.2151, allocations: 414.9 kB / 0.6816 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.2153, allocations: 79.95 kB / 0.6816 GB, free: 12.63 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/0.2161, allocations: 48 kB / 0.6817 GB, free: 12.58 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.2163, allocations: 169.9 kB / 0.6818 GB, free: 12.41 MB / 0.5295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007534/0.2239, allocations: 3.104 MB / 0.6849 GB, free: 9.262 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006018/0.2299, allocations: 4.027 MB / 0.6888 GB, free: 5.156 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001837/0.2318, allocations: 1.208 MB / 0.69 GB, free: 3.934 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001542/0.2319, allocations: 172.4 kB / 0.6901 GB, free: 3.77 MB / 0.5295 GB Notification: Performance of Backend: time 2.3e-07/0.232, allocations: 0 / 0.6901 GB, free: 3.77 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003057/0.235, allocations: 1.529 MB / 0.6916 GB, free: 2.227 MB / 0.5295 GB Notification: Performance of SimCode: time 0.006297/0.2413, allocations: 5.002 MB / 0.6965 GB, free: 13.17 MB / 0.5452 GB Notification: Performance of Templates: time 0.03905/0.2804, allocations: 23.1 MB / 0.7191 GB, free: 6.066 MB / 0.5608 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches