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.001574/0.001574, allocations: 115.9 kB / 17.07 MB, free: 5.996 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.001674/0.001674, allocations: 196 kB / 18 MB, free: 5.074 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.366/1.366, 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 1.158/1.158, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 65.8 kB / 0.5724 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1776, allocations: 80.69 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002893/0.1806, allocations: 1.386 MB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1816, allocations: 0.5146 MB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.1817, allocations: 0 / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1818, allocations: 11.92 kB / 0.653 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.1822, allocations: 59.67 kB / 0.6531 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.1824, allocations: 35.88 kB / 0.6531 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009283/0.1833, allocations: 1.026 MB / 0.6541 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.781e-05/0.1834, allocations: 8.188 kB / 0.6541 GB, free: 8.512 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008026/0.1842, allocations: 367.5 kB / 0.6545 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.1853, allocations: 0.5225 MB / 0.655 GB, free: 7.629 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.1856, allocations: 56 kB / 0.655 GB, free: 7.574 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.186, allocations: 79.98 kB / 0.6551 GB, free: 7.496 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006387/0.1867, allocations: 463 kB / 0.6556 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.1878, allocations: 453.9 kB / 0.656 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.1894, allocations: 0.8135 MB / 0.6568 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.1894, allocations: 4 kB / 0.6568 GB, free: 5.777 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.866e-06/0.1894, allocations: 3.938 kB / 0.6568 GB, free: 5.773 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.294e-05/0.1895, allocations: 0 / 0.6568 GB, free: 5.773 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.003847/0.1933, allocations: 1.292 MB / 0.6581 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.1934, allocations: 11.89 kB / 0.6581 GB, free: 4.418 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.1936, allocations: 84 kB / 0.6582 GB, free: 4.336 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007323/0.1943, allocations: 477.5 kB / 0.6586 GB, free: 3.828 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.1944, allocations: 58 kB / 0.6587 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.1946, allocations: 115.7 kB / 0.6588 GB, free: 3.66 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.1964, allocations: 1.139 MB / 0.6599 GB, free: 2.516 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1964, allocations: 0 / 0.6599 GB, free: 2.516 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.1966, allocations: 39.98 kB / 0.6599 GB, free: 2.477 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.1966, allocations: 20 kB / 0.6599 GB, free: 2.457 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.1983, allocations: 1.261 MB / 0.6612 GB, free: 1.191 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.1998, allocations: 1.084 MB / 0.6622 GB, free: 56 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006107/0.2059, allocations: 2.781 MB / 0.6649 GB, free: 13.27 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.2072, allocations: 0.885 MB / 0.6658 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.2075, allocations: 127 kB / 0.6659 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.2076, allocations: 52.56 kB / 0.666 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 4.759e-06/0.2076, allocations: 0 / 0.666 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.004065/0.2117, allocations: 2.652 MB / 0.6686 GB, free: 9.535 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.2117, allocations: 73.41 kB / 0.6686 GB, free: 9.449 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.212, allocations: 229 kB / 0.6689 GB, free: 9.215 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.2121, allocations: 61.7 kB / 0.6689 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2122, allocations: 131.3 kB / 0.669 GB, free: 9.016 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008618/0.2131, allocations: 0.7701 MB / 0.6698 GB, free: 8.234 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000513/0.2136, allocations: 376.3 kB / 0.6702 GB, free: 7.859 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.2138, allocations: 341.8 kB / 0.6705 GB, free: 7.52 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.2152, allocations: 0.9138 MB / 0.6714 GB, free: 6.602 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.2166, allocations: 0.9486 MB / 0.6723 GB, free: 5.645 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/0.2196, allocations: 2.07 MB / 0.6743 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2196, allocations: 0 / 0.6743 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003656/0.2233, allocations: 2.434 MB / 0.6767 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.2233, allocations: 4 kB / 0.6767 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2233, allocations: 0 / 0.6767 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.2234, allocations: 12 kB / 0.6767 GB, free: 1.047 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.2254, allocations: 0.515 MB / 0.6772 GB, free: 0.5312 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/0.2254, allocations: 15.98 kB / 0.6772 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/0.2261, allocations: 146.3 kB / 0.6774 GB, free: 380 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.2263, 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.0005071/0.2268, allocations: 314.2 kB / 0.6777 GB, free: 15.97 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.227, allocations: 83.06 kB / 0.6778 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/0.2313, allocations: 2.716 MB / 0.6805 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.2314, allocations: 28 kB / 0.6805 GB, free: 13.09 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.2314, allocations: 0 / 0.6805 GB, free: 13.09 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/0.2314, allocations: 15.94 kB / 0.6805 GB, free: 13.08 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.2331, allocations: 1.338 MB / 0.6818 GB, free: 11.7 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.2331, allocations: 0 / 0.6818 GB, free: 11.7 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/0.2358, allocations: 0.5892 MB / 0.6824 GB, free: 11.11 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/0.2358, allocations: 12 kB / 0.6824 GB, free: 11.09 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.236, allocations: 91.92 kB / 0.6825 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.692e-05/0.2361, allocations: 12 kB / 0.6825 GB, free: 10.99 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2361, allocations: 4 kB / 0.6825 GB, free: 10.99 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.2411, allocations: 3.611 MB / 0.686 GB, free: 7.297 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/0.2418, allocations: 414.9 kB / 0.6864 GB, free: 6.871 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.242, allocations: 75.95 kB / 0.6865 GB, free: 6.797 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/0.2426, allocations: 48 kB / 0.6866 GB, free: 6.75 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.2429, allocations: 166 kB / 0.6867 GB, free: 6.586 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.2431, allocations: 83.97 kB / 0.6868 GB, free: 6.504 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001551/0.2432, allocations: 164.5 kB / 0.687 GB, free: 6.348 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2432, allocations: 0 / 0.687 GB, free: 6.348 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0008772/0.2441, allocations: 452 kB / 0.6874 GB, free: 5.906 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.0003813/0.2445, allocations: 221.5 kB / 0.6876 GB, free: 5.684 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003391/0.2479, allocations: 2.29 MB / 0.6898 GB, free: 3.363 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2479, allocations: 0 / 0.6898 GB, free: 3.363 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.2496, allocations: 1.262 MB / 0.6911 GB, free: 2.098 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.2503, allocations: 203.9 kB / 0.6913 GB, free: 1.898 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007354/0.2577, allocations: 5.476 MB / 0.6966 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/0.2584, allocations: 1.151 MB / 0.6977 GB, free: 11.2 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001644/0.2601, allocations: 0.7395 MB / 0.6985 GB, free: 10.46 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/0.2607, allocations: 171.4 kB / 0.6986 GB, free: 10.29 MB / 0.5452 GB Notification: Performance of SimCode: time 4.21e-07/0.2607, allocations: 7.875 kB / 0.6986 GB, free: 10.28 MB / 0.5452 GB Notification: Performance of Templates: time 0.03149/0.2922, allocations: 19.3 MB / 0.7175 GB, free: 7.043 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/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