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.001475/0.001475, allocations: 107 kB / 17.06 MB, free: 6.098 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.001567/0.001567, allocations: 200.1 kB / 18 MB, free: 5.168 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.374/1.374, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.175/1.175, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 61.75 kB / 0.5724 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1701, 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_40): time 0.002347/0.1725, allocations: 1.382 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000875/0.1734, allocations: 0.5184 MB / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.1734, allocations: 0 / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.253e-05/0.1735, allocations: 11.92 kB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.1738, allocations: 55.73 kB / 0.6531 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.174, allocations: 35.89 kB / 0.6531 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008713/0.1748, allocations: 1.026 MB / 0.6541 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.1749, allocations: 20.17 kB / 0.6542 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.1753, allocations: 359.6 kB / 0.6545 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.1759, allocations: 0.5147 MB / 0.655 GB, free: 7.648 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.1761, allocations: 60 kB / 0.6551 GB, free: 7.59 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1763, allocations: 75.98 kB / 0.6551 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004317/0.1767, allocations: 466.9 kB / 0.6556 GB, free: 7.059 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.1772, allocations: 453.9 kB / 0.656 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.1779, allocations: 0.8208 MB / 0.6568 GB, free: 5.789 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1779, allocations: 4 kB / 0.6568 GB, free: 5.785 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1779, allocations: 0 / 0.6568 GB, free: 5.785 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.178, allocations: 0 / 0.6568 GB, free: 5.785 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.002967/0.1809, allocations: 1.303 MB / 0.6581 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.181, allocations: 15.89 kB / 0.6581 GB, free: 4.414 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.1812, allocations: 88.42 kB / 0.6582 GB, free: 4.328 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.182, allocations: 477.8 kB / 0.6586 GB, free: 3.82 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.182, allocations: 62 kB / 0.6587 GB, free: 3.762 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.1822, allocations: 111.8 kB / 0.6588 GB, free: 3.652 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.184, allocations: 1.147 MB / 0.6599 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.184, allocations: 0 / 0.6599 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.1841, allocations: 28 kB / 0.66 GB, free: 2.473 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.1841, allocations: 20 kB / 0.66 GB, free: 2.453 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.1859, allocations: 1.261 MB / 0.6612 GB, free: 1.188 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.1873, allocations: 1.088 MB / 0.6623 GB, free: 48 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006338/0.1937, allocations: 2.781 MB / 0.665 GB, free: 13.27 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.195, allocations: 0.8851 MB / 0.6658 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.1953, allocations: 123 kB / 0.666 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.1954, allocations: 56.56 kB / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 3.266e-06/0.1954, allocations: 0 / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.004134/0.1995, allocations: 2.652 MB / 0.6686 GB, free: 9.527 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.1996, allocations: 73.41 kB / 0.6687 GB, free: 9.441 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.1998, allocations: 233 kB / 0.6689 GB, free: 9.203 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/0.1999, allocations: 57.7 kB / 0.669 GB, free: 9.141 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.2, allocations: 131.3 kB / 0.6691 GB, free: 9.008 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/0.2007, allocations: 0.8134 MB / 0.6699 GB, free: 8.188 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004826/0.2012, allocations: 392.2 kB / 0.6702 GB, free: 7.797 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2013, allocations: 333.8 kB / 0.6706 GB, free: 7.465 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.2027, allocations: 0.9138 MB / 0.6715 GB, free: 6.547 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.2041, allocations: 0.9486 MB / 0.6724 GB, free: 5.59 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.2072, allocations: 2.07 MB / 0.6744 GB, free: 3.488 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2072, allocations: 0 / 0.6744 GB, free: 3.488 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003753/0.211, allocations: 2.431 MB / 0.6768 GB, free: 1.012 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.211, allocations: 4 kB / 0.6768 GB, free: 1.008 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.211, allocations: 4 kB / 0.6768 GB, free: 1.004 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.2111, allocations: 12 kB / 0.6768 GB, free: 0.9922 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.2132, allocations: 0.5189 MB / 0.6773 GB, free: 484 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.2132, allocations: 8 kB / 0.6773 GB, free: 476 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008156/0.214, allocations: 150.8 kB / 0.6775 GB, free: 324 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.2142, allocations: 79.97 kB / 0.6775 GB, free: 244 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.0005345/0.2147, allocations: 310.2 kB / 0.6778 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.2149, allocations: 91.44 kB / 0.6779 GB, free: 15.83 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/0.2193, allocations: 2.716 MB / 0.6806 GB, free: 13.06 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.2193, allocations: 28 kB / 0.6806 GB, free: 13.04 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.2194, allocations: 0 / 0.6806 GB, free: 13.04 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.2194, allocations: 11.95 kB / 0.6806 GB, free: 13.02 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.2212, allocations: 1.35 MB / 0.6819 GB, free: 11.63 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.2212, allocations: 4 kB / 0.6819 GB, free: 11.62 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00277/0.2239, allocations: 0.5853 MB / 0.6825 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.36e-05/0.224, allocations: 8 kB / 0.6825 GB, free: 11.03 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.2242, allocations: 95.92 kB / 0.6826 GB, free: 10.94 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.464e-05/0.2242, allocations: 12 kB / 0.6826 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2242, allocations: 0 / 0.6826 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005231/0.2294, allocations: 3.624 MB / 0.6861 GB, free: 7.223 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000816/0.2303, allocations: 431.4 kB / 0.6866 GB, free: 6.781 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.2305, allocations: 75.97 kB / 0.6866 GB, free: 6.707 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006893/0.2312, allocations: 47.98 kB / 0.6867 GB, free: 6.66 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.2314, allocations: 162 kB / 0.6868 GB, free: 6.5 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.2316, allocations: 83.97 kB / 0.6869 GB, free: 6.418 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001384/0.2317, allocations: 172.5 kB / 0.6871 GB, free: 6.254 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2317, allocations: 0 / 0.6871 GB, free: 6.254 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0008613/0.2326, allocations: 444 kB / 0.6875 GB, free: 5.82 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (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 Backend phase and start with SimCode phase: time 0.0003662/0.233, allocations: 229.4 kB / 0.6877 GB, free: 5.59 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003672/0.2366, allocations: 2.282 MB / 0.6899 GB, free: 3.277 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2367, allocations: 0 / 0.6899 GB, free: 3.277 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.2384, allocations: 1.265 MB / 0.6912 GB, free: 2.008 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00082/0.2393, allocations: 207.9 kB / 0.6914 GB, free: 1.805 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007449/0.2467, allocations: 5.535 MB / 0.6968 GB, free: 12.22 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/0.2475, allocations: 1.155 MB / 0.6979 GB, free: 11.04 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001772/0.2493, allocations: 0.7317 MB / 0.6986 GB, free: 10.3 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.2498, allocations: 171.4 kB / 0.6988 GB, free: 10.13 MB / 0.5452 GB Notification: Performance of SimCode: time 7.31e-07/0.2498, allocations: 0 / 0.6988 GB, free: 10.13 MB / 0.5452 GB Notification: Performance of Templates: time 0.03099/0.2808, allocations: 19.31 MB / 0.7176 GB, free: 6.887 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