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.001404/0.001404, allocations: 106.6 kB / 17.06 MB, free: 6.004 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.001825/0.001826, allocations: 190.1 kB / 18 MB, free: 5.09 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.471/1.471, 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.2/1.2, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 66.59 kB / 0.5724 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1565, allocations: 80.68 MB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002423/0.159, allocations: 1.39 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.1599, allocations: 0.5146 MB / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.16, allocations: 0 / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.808e-05/0.16, allocations: 7.922 kB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1603, allocations: 63.73 kB / 0.6531 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.1605, allocations: 39.83 kB / 0.6531 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009934/0.1615, allocations: 1.014 MB / 0.6541 GB, free: 8.539 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.234e-05/0.1615, allocations: 16.19 kB / 0.6542 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.162, allocations: 367.5 kB / 0.6545 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007638/0.1627, allocations: 0.5147 MB / 0.655 GB, free: 7.648 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.1629, allocations: 63.94 kB / 0.6551 GB, free: 7.586 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.1631, allocations: 75.98 kB / 0.6551 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004871/0.1636, allocations: 466.9 kB / 0.6556 GB, free: 7.055 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.1642, allocations: 453.9 kB / 0.656 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0008623/0.165, allocations: 0.8246 MB / 0.6568 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1651, allocations: 0 / 0.6568 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1651, allocations: 4 kB / 0.6568 GB, free: 5.777 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.1651, allocations: 0 / 0.6568 GB, free: 5.777 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.003141/0.1682, allocations: 1.303 MB / 0.6581 GB, free: 4.422 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1683, allocations: 12.03 kB / 0.6581 GB, free: 4.41 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.1685, allocations: 88.42 kB / 0.6582 GB, free: 4.324 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.1692, allocations: 481.8 kB / 0.6587 GB, free: 3.812 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.1693, allocations: 58 kB / 0.6587 GB, free: 3.758 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.1695, allocations: 115.8 kB / 0.6588 GB, free: 3.645 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.1713, allocations: 1.135 MB / 0.6599 GB, free: 2.504 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1714, allocations: 0 / 0.6599 GB, free: 2.504 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.883e-05/0.1715, allocations: 32 kB / 0.66 GB, free: 2.473 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.1715, allocations: 20 kB / 0.66 GB, free: 2.453 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.1735, allocations: 1.265 MB / 0.6612 GB, free: 1.184 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.1752, allocations: 1.092 MB / 0.6623 GB, free: 40 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00689/0.1821, allocations: 2.777 MB / 0.665 GB, free: 13.26 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.1836, allocations: 0.8889 MB / 0.6659 GB, free: 12.37 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/0.1839, allocations: 127 kB / 0.666 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.1839, allocations: 48.56 kB / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 3.737e-06/0.1839, allocations: 0 / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.00454/0.1885, allocations: 2.653 MB / 0.6686 GB, free: 9.523 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.1886, allocations: 77.34 kB / 0.6687 GB, free: 9.434 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.1889, allocations: 229 kB / 0.6689 GB, free: 9.199 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.472e-05/0.189, allocations: 61.7 kB / 0.669 GB, free: 9.133 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1891, allocations: 131.3 kB / 0.6691 GB, free: 9 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007422/0.1898, allocations: 0.8173 MB / 0.6699 GB, free: 8.176 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005568/0.1904, allocations: 380.2 kB / 0.6703 GB, free: 7.797 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1906, allocations: 333.8 kB / 0.6706 GB, free: 7.465 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.1921, allocations: 0.9177 MB / 0.6715 GB, free: 6.543 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.1937, allocations: 0.9525 MB / 0.6724 GB, free: 5.582 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/0.197, allocations: 2.062 MB / 0.6744 GB, free: 3.488 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.197, allocations: 4 kB / 0.6744 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003983/0.201, allocations: 2.431 MB / 0.6768 GB, free: 1.008 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.201, allocations: 8 kB / 0.6768 GB, free: 1 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.201, allocations: 0 / 0.6768 GB, free: 1 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.201, allocations: 8 kB / 0.6768 GB, free: 0.9922 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/0.2031, allocations: 0.5189 MB / 0.6773 GB, free: 484 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.2032, allocations: 8 kB / 0.6773 GB, free: 476 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.2039, allocations: 150.8 kB / 0.6775 GB, free: 324 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.2041, allocations: 75.97 kB / 0.6775 GB, free: 248 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.0005813/0.2047, allocations: 314.2 kB / 0.6778 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.2049, allocations: 99.38 kB / 0.6779 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005358/0.2103, allocations: 2.705 MB / 0.6806 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/0.2103, allocations: 35.98 kB / 0.6806 GB, free: 13.03 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.2104, allocations: 3.984 kB / 0.6806 GB, free: 13.03 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/0.2104, allocations: 11.95 kB / 0.6806 GB, free: 13.02 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.2127, allocations: 1.346 MB / 0.6819 GB, free: 11.62 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.2127, allocations: 0 / 0.6819 GB, free: 11.62 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002983/0.2157, allocations: 0.5853 MB / 0.6825 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/0.2158, allocations: 12 kB / 0.6825 GB, free: 11.03 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/0.216, allocations: 91.92 kB / 0.6826 GB, free: 10.94 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.588e-05/0.216, allocations: 12 kB / 0.6826 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.216, allocations: 0 / 0.6826 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006008/0.222, allocations: 3.624 MB / 0.6862 GB, free: 7.223 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007837/0.2228, allocations: 427.4 kB / 0.6866 GB, free: 6.785 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.2231, allocations: 75.95 kB / 0.6866 GB, free: 6.711 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006967/0.2238, allocations: 48 kB / 0.6867 GB, free: 6.664 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/0.2241, allocations: 166 kB / 0.6868 GB, free: 6.5 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/0.2243, allocations: 79.97 kB / 0.6869 GB, free: 6.422 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0002054/0.2245, allocations: 176.4 kB / 0.6871 GB, free: 6.254 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2245, allocations: 4 kB / 0.6871 GB, free: 6.25 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.001018/0.2255, allocations: 448 kB / 0.6875 GB, free: 5.812 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.0004293/0.226, allocations: 213.6 kB / 0.6877 GB, free: 5.598 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003856/0.2298, allocations: 2.29 MB / 0.69 GB, free: 3.277 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2299, allocations: 0 / 0.69 GB, free: 3.277 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.232, allocations: 1.262 MB / 0.6912 GB, free: 2.012 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/0.2327, allocations: 204.2 kB / 0.6914 GB, free: 1.809 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008379/0.2411, allocations: 5.538 MB / 0.6968 GB, free: 12.22 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/0.242, allocations: 1.155 MB / 0.6979 GB, free: 11.04 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001892/0.2439, allocations: 0.7395 MB / 0.6986 GB, free: 10.3 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.2445, allocations: 163.4 kB / 0.6988 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of SimCode: time 1.112e-06/0.2445, allocations: 0 / 0.6988 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of Templates: time 0.03607/0.2806, allocations: 19.31 MB / 0.7177 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