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.001261/0.001261, allocations: 108.7 kB / 16.51 MB, free: 6.715 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.001228/0.001228, allocations: 189.9 kB / 17.43 MB, free: 6.066 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9077/0.9077, allocations: 119.3 MB / 410.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 0.4916 GB, free: 12.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.481, allocations: 80.69 MB / 0.5704 GB, free: 43.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002158/0.4832, allocations: 1.442 MB / 0.5718 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007606/0.484, allocations: 0.5152 MB / 0.5723 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.484, allocations: 3.938 kB / 0.5723 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.525e-05/0.4841, allocations: 5.609 kB / 0.5723 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.4844, allocations: 54.77 kB / 0.5724 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.855e-05/0.4845, allocations: 28.47 kB / 0.5724 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008767/0.4854, allocations: 1.041 MB / 0.5734 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.4854, allocations: 12.66 kB / 0.5734 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.4858, allocations: 361.1 kB / 0.5738 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006263/0.4864, allocations: 0.5555 MB / 0.5743 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.4866, allocations: 58.28 kB / 0.5744 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.4868, allocations: 85 kB / 0.5744 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.4872, allocations: 465 kB / 0.5749 GB, free: 41 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.4876, allocations: 456.5 kB / 0.5753 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.4881, allocations: 0.7984 MB / 0.5761 GB, free: 40.25 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4882, allocations: 0 / 0.5761 GB, free: 40.25 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4882, allocations: 0 / 0.5761 GB, free: 40.25 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.4882, allocations: 0 / 0.5761 GB, free: 40.25 MB / 462.3 MB 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.00277/0.491, allocations: 1.29 MB / 0.5774 GB, free: 39.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.491, allocations: 10.16 kB / 0.5774 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.4912, allocations: 91.25 kB / 0.5775 GB, free: 39.33 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.4918, allocations: 469.7 kB / 0.5779 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.4919, allocations: 62.22 kB / 0.578 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.492, allocations: 117.2 kB / 0.5781 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.4937, allocations: 1.138 MB / 0.5792 GB, free: 38.24 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.4937, allocations: 1.281 kB / 0.5792 GB, free: 38.24 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-05/0.4938, allocations: 38.22 kB / 0.5792 GB, free: 38.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.4938, allocations: 18.94 kB / 0.5792 GB, free: 38.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.4956, allocations: 1.265 MB / 0.5805 GB, free: 37.74 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.4971, allocations: 1.091 MB / 0.5815 GB, free: 37 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006025/0.5031, allocations: 2.778 MB / 0.5843 GB, free: 35.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.5041, allocations: 0.885 MB / 0.5851 GB, free: 34.49 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.5044, allocations: 127 kB / 0.5852 GB, free: 34.35 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.5044, allocations: 56.5 kB / 0.5853 GB, free: 34.28 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.467e-06/0.5044, allocations: 0 / 0.5853 GB, free: 34.28 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003362/0.5078, allocations: 2.648 MB / 0.5879 GB, free: 31.63 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.5078, allocations: 73.41 kB / 0.5879 GB, free: 31.55 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.508, allocations: 233 kB / 0.5882 GB, free: 31.31 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/0.5081, allocations: 57.7 kB / 0.5882 GB, free: 31.25 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.5081, allocations: 131.3 kB / 0.5884 GB, free: 31.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.5086, allocations: 0.7817 MB / 0.5891 GB, free: 30.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000405/0.509, allocations: 380.3 kB / 0.5895 GB, free: 29.95 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.5091, allocations: 322 kB / 0.5898 GB, free: 29.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.5102, allocations: 0.9138 MB / 0.5907 GB, free: 28.71 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.5113, allocations: 0.9525 MB / 0.5916 GB, free: 27.75 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.5137, allocations: 2.07 MB / 0.5936 GB, free: 25.64 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5137, allocations: 0 / 0.5936 GB, free: 25.64 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002879/0.5166, allocations: 2.43 MB / 0.596 GB, free: 23.17 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.5166, allocations: 8.625 kB / 0.596 GB, free: 23.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5166, allocations: 4 kB / 0.596 GB, free: 23.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.5166, allocations: 15.94 kB / 0.596 GB, free: 23.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.5185, allocations: 0.5189 MB / 0.5965 GB, free: 22.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.5185, allocations: 8 kB / 0.5965 GB, free: 22.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.5192, allocations: 146.3 kB / 0.5967 GB, free: 22.47 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.5193, allocations: 75.97 kB / 0.5968 GB, free: 22.39 MB / 462.3 MB 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.0003816/0.5197, allocations: 309.2 kB / 0.597 GB, free: 22.08 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.5198, allocations: 86.97 kB / 0.5971 GB, free: 22 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003521/0.5234, allocations: 2.728 MB / 0.5998 GB, free: 19.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.5234, allocations: 24 kB / 0.5998 GB, free: 19.19 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5234, allocations: 0 / 0.5998 GB, free: 19.19 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.5234, allocations: 11.95 kB / 0.5998 GB, free: 19.18 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.5248, allocations: 1.346 MB / 0.6011 GB, free: 17.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.5248, allocations: 0 / 0.6011 GB, free: 17.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/0.5273, allocations: 0.5853 MB / 0.6017 GB, free: 17.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/0.5273, allocations: 12 kB / 0.6017 GB, free: 17.18 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.5274, allocations: 91.92 kB / 0.6018 GB, free: 17.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.5274, allocations: 8 kB / 0.6018 GB, free: 17.08 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5275, allocations: 0 / 0.6018 GB, free: 17.08 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004011/0.5315, allocations: 3.627 MB / 0.6054 GB, free: 13.38 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/0.532, allocations: 414.8 kB / 0.6058 GB, free: 12.95 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.5322, allocations: 79.95 kB / 0.6058 GB, free: 12.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.5328, allocations: 44 kB / 0.6059 GB, free: 12.83 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.5331, allocations: 162 kB / 0.606 GB, free: 12.67 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.5332, allocations: 79.97 kB / 0.6061 GB, free: 12.59 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001076/0.5333, allocations: 168.5 kB / 0.6063 GB, free: 12.43 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5333, allocations: 4 kB / 0.6063 GB, free: 12.43 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007328/0.534, allocations: 448 kB / 0.6067 GB, free: 11.99 MB / 462.3 MB 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.0002784/0.5343, allocations: 217 kB / 0.6069 GB, free: 11.77 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.537, allocations: 2.278 MB / 0.6091 GB, free: 9.461 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.537, allocations: 0 / 0.6091 GB, free: 9.461 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.5383, allocations: 1.258 MB / 0.6104 GB, free: 8.199 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.539, allocations: 198.1 kB / 0.6106 GB, free: 8.008 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/0.5449, allocations: 5.931 MB / 0.6163 GB, free: 2.027 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.5453, allocations: 1.155 MB / 0.6175 GB, free: 0.8398 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001436/0.5467, allocations: 0.7434 MB / 0.6182 GB, free: 96 kB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005766/0.5473, allocations: 163.4 kB / 0.6184 GB, free: 15.93 MB / 478.3 MB Notification: Performance of SimCode: time 9.72e-07/0.5473, allocations: 0 / 0.6184 GB, free: 15.93 MB / 478.3 MB Notification: Performance of Templates: time 0.02784/0.5752, allocations: 17.78 MB / 0.6357 GB, free: 14.21 MB / 494.3 MB 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches