Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001159/0.001159, allocations: 114.1 kB / 17.06 MB, free: 5.812 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.001161/0.001162, allocations: 200 kB / 18 MB, free: 4.949 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.224/1.224, allocations: 222.9 MB / 241.7 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.8094/0.8094, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 62.56 kB / 0.5724 GB, free: 38.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1173, allocations: 80.69 MB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002009/0.1194, allocations: 1.39 MB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007321/0.1201, allocations: 0.5107 MB / 0.653 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.1202, allocations: 0 / 0.653 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.381e-05/0.1202, allocations: 11.92 kB / 0.653 GB, free: 9.633 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.1205, allocations: 55.75 kB / 0.6531 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 9.846e-05/0.1206, allocations: 35.88 kB / 0.6531 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00078/0.1214, allocations: 1.026 MB / 0.6541 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.1214, allocations: 16.11 kB / 0.6541 GB, free: 8.5 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.1217, allocations: 363.5 kB / 0.6545 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005854/0.1223, allocations: 0.5147 MB / 0.655 GB, free: 7.629 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.1225, allocations: 56 kB / 0.655 GB, free: 7.574 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.1226, allocations: 83.97 kB / 0.6551 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.123, allocations: 470.9 kB / 0.6556 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.1234, allocations: 449.9 kB / 0.656 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.124, allocations: 0.8174 MB / 0.6568 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.124, allocations: 4 kB / 0.6568 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.113e-06/0.124, allocations: 0 / 0.6568 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.124, allocations: 4 kB / 0.6568 GB, free: 5.762 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.002752/0.1268, allocations: 1.285 MB / 0.6581 GB, free: 4.426 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1268, allocations: 11.89 kB / 0.6581 GB, free: 4.414 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.127, allocations: 84 kB / 0.6581 GB, free: 4.332 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.1279, allocations: 477.5 kB / 0.6586 GB, free: 3.824 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.1279, allocations: 58 kB / 0.6587 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.1281, allocations: 115.7 kB / 0.6588 GB, free: 3.656 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.1299, allocations: 1.139 MB / 0.6599 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1299, allocations: 0 / 0.6599 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.13, allocations: 36 kB / 0.6599 GB, free: 2.477 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.13, allocations: 20 kB / 0.6599 GB, free: 2.457 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.1317, allocations: 1.265 MB / 0.6612 GB, free: 1.188 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.133, allocations: 1.092 MB / 0.6622 GB, free: 44 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005965/0.1389, allocations: 2.781 MB / 0.665 GB, free: 13.26 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.1401, allocations: 0.8851 MB / 0.6658 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.1403, allocations: 123 kB / 0.6659 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1404, allocations: 52.56 kB / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 2.995e-06/0.1404, allocations: 0 / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.003799/0.1442, allocations: 2.652 MB / 0.6686 GB, free: 9.527 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.1443, allocations: 73.41 kB / 0.6686 GB, free: 9.441 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1445, allocations: 232.9 kB / 0.6689 GB, free: 9.203 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.697e-05/0.1445, allocations: 61.7 kB / 0.6689 GB, free: 9.137 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1446, allocations: 131.3 kB / 0.6691 GB, free: 9.004 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/0.1451, allocations: 0.7701 MB / 0.6698 GB, free: 8.223 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000462/0.1456, allocations: 380.3 kB / 0.6702 GB, free: 7.844 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1457, allocations: 329.9 kB / 0.6705 GB, free: 7.516 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.147, allocations: 0.9177 MB / 0.6714 GB, free: 6.594 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.1482, allocations: 0.9486 MB / 0.6723 GB, free: 5.637 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.151, allocations: 2.062 MB / 0.6743 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.151, allocations: 0 / 0.6743 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00333/0.1544, allocations: 2.442 MB / 0.6767 GB, free: 1.055 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1544, allocations: 4 kB / 0.6767 GB, free: 1.051 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.1544, allocations: 0 / 0.6767 GB, free: 1.051 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.1544, allocations: 15.94 kB / 0.6767 GB, free: 1.035 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.1563, allocations: 0.5111 MB / 0.6772 GB, free: 0.5234 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.1564, allocations: 12 kB / 0.6772 GB, free: 0.5117 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.157, allocations: 142.3 kB / 0.6774 GB, free: 380 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.1572, allocations: 79.97 kB / 0.6774 GB, free: 300 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.0004052/0.1576, allocations: 310.2 kB / 0.6777 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.1577, allocations: 87.06 kB / 0.6778 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/0.1619, allocations: 2.72 MB / 0.6805 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.1619, allocations: 32 kB / 0.6805 GB, free: 13.09 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.162, allocations: 0 / 0.6805 GB, free: 13.09 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/0.162, allocations: 11.95 kB / 0.6805 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.1636, allocations: 1.342 MB / 0.6818 GB, free: 11.69 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.1636, allocations: 0 / 0.6818 GB, free: 11.69 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002637/0.1662, allocations: 0.5892 MB / 0.6824 GB, free: 11.1 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.1663, allocations: 8 kB / 0.6824 GB, free: 11.09 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/0.1664, allocations: 91.92 kB / 0.6825 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.1664, allocations: 8 kB / 0.6825 GB, free: 10.99 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1664, allocations: 4 kB / 0.6825 GB, free: 10.99 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004827/0.1713, allocations: 3.619 MB / 0.686 GB, free: 7.289 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/0.172, allocations: 414.9 kB / 0.6864 GB, free: 6.863 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.1722, allocations: 75.95 kB / 0.6865 GB, free: 6.789 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/0.1729, allocations: 51.94 kB / 0.6866 GB, free: 6.738 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.1731, allocations: 158 kB / 0.6867 GB, free: 6.582 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.1733, allocations: 83.97 kB / 0.6868 GB, free: 6.5 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001416/0.1734, allocations: 164.5 kB / 0.687 GB, free: 6.344 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.543e-06/0.1734, allocations: 0 / 0.687 GB, free: 6.344 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0008029/0.1742, allocations: 459.9 kB / 0.6874 GB, free: 5.895 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.000313/0.1745, allocations: 217.5 kB / 0.6876 GB, free: 5.676 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.00321/0.1778, allocations: 2.286 MB / 0.6898 GB, free: 3.359 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1778, allocations: 4 kB / 0.6898 GB, free: 3.355 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.1794, allocations: 1.262 MB / 0.6911 GB, free: 2.09 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.18, allocations: 204.2 kB / 0.6913 GB, free: 1.887 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.1869, allocations: 5.472 MB / 0.6966 GB, free: 12.37 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.1875, allocations: 1.151 MB / 0.6977 GB, free: 11.19 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001511/0.189, allocations: 0.7356 MB / 0.6984 GB, free: 10.45 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.1896, allocations: 171.4 kB / 0.6986 GB, free: 10.28 MB / 0.5452 GB Notification: Performance of SimCode: time 8.12e-07/0.1896, allocations: 0 / 0.6986 GB, free: 10.28 MB / 0.5452 GB Notification: Performance of Templates: time 0.03188/0.2215, allocations: 19.82 MB / 0.718 GB, free: 6.527 MB / 0.5608 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches