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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 175.9 kB / 8.345 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.5 MB / 230.3 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.0009563, allocations: 92.66 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.025/1.025, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.406e-05, allocations: 0 / 0.5295 GB, free: 0.5312 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5944, allocations: 82.84 MB / 0.6104 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.769, allocations: 125.2 MB / 0.7327 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.7692, allocations: 63.97 kB / 0.7327 GB, free: 15.67 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03715/0.8063, allocations: 12.41 MB / 0.7449 GB, free: 3.23 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8064, allocations: 0 / 0.7449 GB, free: 3.23 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.461e-05/0.8064, allocations: 16 kB / 0.7449 GB, free: 3.215 MB / 0.5419 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.003059/0.8095, allocations: 1.521 MB / 0.7464 GB, free: 1.648 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.8095, allocations: 8.031 kB / 0.7464 GB, free: 1.641 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.8097, allocations: 87.02 kB / 0.7464 GB, free: 1.555 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.8112, allocations: 0.9082 MB / 0.7473 GB, free: 0.6016 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.8112, allocations: 28 kB / 0.7474 GB, free: 0.5742 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.8114, allocations: 83.7 kB / 0.7474 GB, free: 0.4922 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6171/1.429, allocations: 1.187 MB / 0.7486 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/1.431, allocations: 1.008 MB / 0.7496 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/1.431, allocations: 0 / 0.7496 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/1.431, allocations: 3.25 kB / 0.7496 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/1.431, allocations: 23.92 kB / 0.7496 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/1.433, allocations: 0.9523 MB / 0.7505 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006433/1.439, allocations: 2.629 MB / 0.7531 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/1.44, allocations: 0.8094 MB / 0.7539 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/1.441, allocations: 122.4 kB / 0.754 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.441, allocations: 59.89 kB / 0.7541 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=203): time 4.398e-06/1.441, allocations: 0 / 0.7541 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of matching and sorting (n=203): time 0.00503/1.446, allocations: 2.155 MB / 0.7562 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/1.446, allocations: 74.97 kB / 0.7562 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/1.446, allocations: 193.9 kB / 0.7564 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/1.446, allocations: 25.7 kB / 0.7565 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/1.446, allocations: 126.5 kB / 0.7566 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/1.447, allocations: 0.7654 MB / 0.7573 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/1.447, allocations: 0 / 0.7573 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.447, allocations: 422.6 kB / 0.7577 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/1.448, allocations: 0.8828 MB / 0.7586 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009965/1.449, allocations: 0.899 MB / 0.7595 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/1.452, allocations: 1.45 MB / 0.7609 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.452, allocations: 0 / 0.7609 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004477/1.456, allocations: 2.691 MB / 0.7635 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.456, allocations: 7.688 kB / 0.7635 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.456, allocations: 3.688 kB / 0.7635 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/1.456, allocations: 11.08 kB / 0.7635 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003983/1.46, allocations: 0.5491 MB / 0.7641 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.619e-05/1.461, allocations: 8 kB / 0.7641 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000841/1.461, allocations: 102.3 kB / 0.7642 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/1.461, allocations: 78.73 kB / 0.7642 GB, free: 126.4 MB / 0.5421 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002976/1.462, allocations: 124.6 kB / 0.7644 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/1.462, allocations: 86.97 kB / 0.7645 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/1.467, allocations: 2.888 MB / 0.7673 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/1.467, allocations: 28 kB / 0.7673 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.467, allocations: 3.953 kB / 0.7673 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/1.467, allocations: 17.77 kB / 0.7673 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/1.469, allocations: 1.169 MB / 0.7685 GB, free: 122.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.469, allocations: 0 / 0.7685 GB, free: 122.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004358/1.473, allocations: 0.614 MB / 0.7691 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-05/1.473, allocations: 8 kB / 0.7691 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/1.473, allocations: 65.52 kB / 0.7691 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/1.473, allocations: 12 kB / 0.7691 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/1.473, allocations: 7.75 kB / 0.7692 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005546/1.479, allocations: 3.738 MB / 0.7728 GB, free: 119.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/1.48, allocations: 421.9 kB / 0.7732 GB, free: 118.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/1.48, allocations: 31.95 kB / 0.7732 GB, free: 118.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006887/1.48, allocations: 0 / 0.7732 GB, free: 118.6 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/1.481, allocations: 166 kB / 0.7734 GB, free: 118.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.481, allocations: 83.91 kB / 0.7735 GB, free: 118.4 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001101/1.481, allocations: 163.8 kB / 0.7736 GB, free: 118.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.11e-07/1.481, allocations: 0 / 0.7736 GB, free: 118.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007897/1.482, allocations: 369 kB / 0.774 GB, free: 117.9 MB / 0.5421 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/1.482, allocations: 184.1 kB / 0.7742 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002476/1.484, allocations: 2.141 MB / 0.7762 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.484, allocations: 3.938 kB / 0.7763 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.486, allocations: 1.176 MB / 0.7774 GB, free: 114.3 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/1.486, allocations: 113.4 kB / 0.7775 GB, free: 114.2 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/1.492, allocations: 5.421 MB / 0.7828 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/1.492, allocations: 1.182 MB / 0.784 GB, free: 107.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001759/1.494, allocations: 0.7435 MB / 0.7847 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/1.495, allocations: 171.4 kB / 0.7848 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of SimCode: time 9.92e-07/1.495, allocations: 0 / 0.7848 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of Templates: time 0.02206/1.517, allocations: 16.55 MB / 0.801 GB, free: 90.25 MB / 0.5421 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches