Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 110 kB / 17.16 MB, free: 6.328 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.001229/0.001229, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.303/1.303, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8702/0.8702, allocations: 119.3 MB / 411.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 0.4922 GB, free: 12.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4431, allocations: 80.67 MB / 0.571 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002047/0.4452, allocations: 1.456 MB / 0.5724 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006632/0.4459, allocations: 0.5143 MB / 0.5729 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.4459, allocations: 0 / 0.5729 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.072e-05/0.446, allocations: 7.922 kB / 0.5729 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.4462, allocations: 50.92 kB / 0.573 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.368e-05/0.4463, allocations: 33.53 kB / 0.573 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.4467, allocations: 0.5834 MB / 0.5736 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.4468, allocations: 7.375 kB / 0.5736 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.447, allocations: 197.8 kB / 0.5738 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.4473, allocations: 301.2 kB / 0.5741 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.181e-05/0.4474, allocations: 29.47 kB / 0.5741 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.4475, allocations: 56.09 kB / 0.5742 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.4477, allocations: 234 kB / 0.5744 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.4479, allocations: 231.6 kB / 0.5746 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.4482, allocations: 292 kB / 0.5749 GB, free: 40.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4482, allocations: 0 / 0.5749 GB, free: 40.82 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.02e-07/0.4482, allocations: 1.531 kB / 0.5749 GB, free: 40.82 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.4482, allocations: 0 / 0.5749 GB, free: 40.82 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001563/0.4498, allocations: 0.8082 MB / 0.5757 GB, free: 40.21 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.4498, allocations: 13.25 kB / 0.5757 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.4499, allocations: 52.25 kB / 0.5757 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.4502, allocations: 330.7 kB / 0.576 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.4503, allocations: 29.31 kB / 0.5761 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/0.4504, allocations: 65.06 kB / 0.5761 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008277/0.4512, allocations: 0.5829 MB / 0.5767 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4512, allocations: 0 / 0.5767 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.4513, allocations: 19.41 kB / 0.5767 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.4513, allocations: 9.531 kB / 0.5767 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008069/0.4521, allocations: 0.5869 MB / 0.5773 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.4528, allocations: 0.6256 MB / 0.5779 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.4559, allocations: 1.364 MB / 0.5793 GB, free: 38.16 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/0.4566, allocations: 455.8 kB / 0.5797 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.4568, allocations: 107.8 kB / 0.5798 GB, free: 37.85 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.4568, allocations: 40.62 kB / 0.5798 GB, free: 37.8 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.394e-06/0.4568, allocations: 0 / 0.5798 GB, free: 37.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001949/0.4588, allocations: 1.347 MB / 0.5811 GB, free: 37.2 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.4588, allocations: 62.5 kB / 0.5812 GB, free: 37.14 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4589, allocations: 184.6 kB / 0.5814 GB, free: 37 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.459, allocations: 41.48 kB / 0.5814 GB, free: 36.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.459, allocations: 107.2 kB / 0.5815 GB, free: 36.85 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.4592, allocations: 403.4 kB / 0.5819 GB, free: 36.5 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.4595, allocations: 198.9 kB / 0.5821 GB, free: 36.39 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.4596, allocations: 367.1 kB / 0.5824 GB, free: 36.04 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/0.4602, allocations: 475.6 kB / 0.5829 GB, free: 35.83 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.4609, allocations: 485.6 kB / 0.5834 GB, free: 35.61 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.4623, allocations: 1.046 MB / 0.5844 GB, free: 35.12 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4623, allocations: 0 / 0.5844 GB, free: 35.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001676/0.4639, allocations: 1.247 MB / 0.5856 GB, free: 34.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.464, allocations: 4 kB / 0.5856 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.464, allocations: 0 / 0.5856 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.464, allocations: 4 kB / 0.5856 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009716/0.465, allocations: 271.7 kB / 0.5859 GB, free: 34.28 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.465, allocations: 4 kB / 0.5859 GB, free: 34.28 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.4654, allocations: 79.06 kB / 0.5859 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/0.4654, allocations: 35.98 kB / 0.586 GB, free: 34.16 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 (144): * Single equations (assignments): 144 * 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.0001913/0.4656, allocations: 221.5 kB / 0.5862 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.4657, allocations: 43.53 kB / 0.5862 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.4675, allocations: 1.384 MB / 0.5876 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4675, allocations: 16 kB / 0.5876 GB, free: 32.49 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4675, allocations: 4 kB / 0.5876 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4675, allocations: 7.969 kB / 0.5876 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.4682, allocations: 0.7426 MB / 0.5883 GB, free: 31.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4682, allocations: 0 / 0.5883 GB, free: 31.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/0.4695, allocations: 311.5 kB / 0.5886 GB, free: 31.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4695, allocations: 4 kB / 0.5886 GB, free: 31.38 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.4696, allocations: 51.91 kB / 0.5887 GB, free: 31.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4696, allocations: 4 kB / 0.5887 GB, free: 31.32 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.4696, allocations: 7.984 kB / 0.5887 GB, free: 31.31 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.4716, allocations: 1.854 MB / 0.5905 GB, free: 29.44 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.4719, allocations: 255.9 kB / 0.5908 GB, free: 29.17 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.82e-05/0.472, allocations: 35.98 kB / 0.5908 GB, free: 29.13 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.4723, allocations: 24 kB / 0.5908 GB, free: 29.11 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.4724, allocations: 81.19 kB / 0.5909 GB, free: 29.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.4725, allocations: 39.98 kB / 0.5909 GB, free: 28.99 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.036e-05/0.4726, allocations: 132.3 kB / 0.5911 GB, free: 28.86 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4726, allocations: 0 / 0.5911 GB, free: 28.86 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004177/0.473, allocations: 232 kB / 0.5913 GB, free: 28.63 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.0001781/0.4732, allocations: 159.8 kB / 0.5914 GB, free: 28.47 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.4744, allocations: 1.155 MB / 0.5926 GB, free: 27.32 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4744, allocations: 0 / 0.5926 GB, free: 27.32 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.4751, allocations: 0.6358 MB / 0.5932 GB, free: 26.68 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.4755, allocations: 110.6 kB / 0.5933 GB, free: 26.57 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.4786, allocations: 3.093 MB / 0.5963 GB, free: 23.45 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.4788, allocations: 0.9233 MB / 0.5972 GB, free: 22.5 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.4792, allocations: 95.41 kB / 0.5973 GB, free: 22.4 MB / 462.3 MB Notification: Performance of SimCode: time 2.81e-07/0.4792, allocations: 0 / 0.5973 GB, free: 22.4 MB / 462.3 MB Notification: Performance of Templates: time 0.008884/0.4881, allocations: 9.467 MB / 0.6065 GB, free: 12.95 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches