Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 88.3 kB / 16.65 MB, free: 6.535 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.001028/0.001028, allocations: 173.1 kB / 17.56 MB, free: 6.184 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.252/1.252, allocations: 223.3 MB / 241.6 MB, free: 14.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.8351/0.8351, allocations: 120.5 MB / 413.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 8 kB / 0.4962 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4504, allocations: 82.83 MB / 0.5771 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001106/0.4515, allocations: 1.109 MB / 0.5782 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006892/0.4522, allocations: 0.5092 MB / 0.5787 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.4523, allocations: 0 / 0.5787 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.295e-05/0.4524, allocations: 7.922 kB / 0.5787 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.4526, allocations: 51.14 kB / 0.5788 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.659e-05/0.4527, allocations: 37.48 kB / 0.5788 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.4529, allocations: 230.7 kB / 0.579 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.4529, allocations: 7.766 kB / 0.579 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.453, allocations: 73.17 kB / 0.5791 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.4532, allocations: 115.6 kB / 0.5792 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.4532, allocations: 7.75 kB / 0.5792 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.4533, allocations: 31.23 kB / 0.5792 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.4534, allocations: 65.97 kB / 0.5793 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.4535, allocations: 96.84 kB / 0.5794 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.4536, allocations: 138.4 kB / 0.5795 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4537, allocations: 0 / 0.5795 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4537, allocations: 0 / 0.5795 GB, free: 40.05 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.4537, allocations: 4 kB / 0.5795 GB, free: 40.04 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006083/0.4543, allocations: 454.7 kB / 0.58 GB, free: 39.62 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.4543, allocations: 9.625 kB / 0.58 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.4544, allocations: 17 kB / 0.58 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.4546, allocations: 213.8 kB / 0.5802 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4546, allocations: 17.61 kB / 0.5802 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.4546, allocations: 20.14 kB / 0.5802 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.4549, allocations: 173.5 kB / 0.5804 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4549, allocations: 0 / 0.5804 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.4549, allocations: 5.359 kB / 0.5804 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4549, allocations: 6.75 kB / 0.5804 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.4551, allocations: 148.7 kB / 0.5806 GB, free: 39.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.4554, allocations: 284.3 kB / 0.5808 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.4563, allocations: 348.7 kB / 0.5812 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.4564, allocations: 120.7 kB / 0.5813 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.4566, allocations: 91.55 kB / 0.5814 GB, free: 38.6 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.4566, allocations: 36.41 kB / 0.5814 GB, free: 38.56 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.272e-06/0.4566, allocations: 0 / 0.5814 GB, free: 38.56 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006139/0.4572, allocations: 378.6 kB / 0.5818 GB, free: 38.38 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.4572, allocations: 54.19 kB / 0.5818 GB, free: 38.32 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.4573, allocations: 131.8 kB / 0.5819 GB, free: 38.2 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4574, allocations: 39.48 kB / 0.582 GB, free: 38.16 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.4574, allocations: 95.47 kB / 0.5821 GB, free: 38.07 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.4575, allocations: 103.4 kB / 0.5822 GB, free: 37.98 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.4575, allocations: 35.83 kB / 0.5822 GB, free: 37.95 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.4576, allocations: 332.3 kB / 0.5825 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.4578, allocations: 119.9 kB / 0.5826 GB, free: 37.56 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.458, allocations: 127.9 kB / 0.5827 GB, free: 37.51 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.4583, allocations: 272.3 kB / 0.583 GB, free: 37.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4583, allocations: 0 / 0.583 GB, free: 37.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004817/0.4588, allocations: 364.5 kB / 0.5834 GB, free: 37.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4588, allocations: 7.219 kB / 0.5834 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4589, allocations: 3.938 kB / 0.5834 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4589, allocations: 1.281 kB / 0.5834 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.4592, allocations: 75.12 kB / 0.5834 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4592, allocations: 2.531 kB / 0.5834 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.4593, allocations: 31.34 kB / 0.5835 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.4593, allocations: 15.58 kB / 0.5835 GB, free: 37.15 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 (39): * Single equations (assignments): 39 * 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 8.782e-05/0.4594, allocations: 141 kB / 0.5836 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.4595, allocations: 15.41 kB / 0.5836 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.4601, allocations: 402 kB / 0.584 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4601, allocations: 3.812 kB / 0.584 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4601, allocations: 9.25 kB / 0.584 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.4601, allocations: 0 / 0.584 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.4603, allocations: 317.1 kB / 0.5843 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4603, allocations: 1.281 kB / 0.5843 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.4607, allocations: 87.55 kB / 0.5844 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4608, allocations: 1.25 kB / 0.5844 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.4608, allocations: 9.062 kB / 0.5844 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4608, allocations: 2.5 kB / 0.5844 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4608, allocations: 3.984 kB / 0.5844 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.4615, allocations: 0.5301 MB / 0.5849 GB, free: 36.17 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.4616, allocations: 124.2 kB / 0.5851 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.4616, allocations: 12.59 kB / 0.5851 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.4618, allocations: 5.875 kB / 0.5851 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.4618, allocations: 19.03 kB / 0.5851 GB, free: 36.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.4618, allocations: 16.3 kB / 0.5851 GB, free: 36.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.4619, allocations: 102 kB / 0.5852 GB, free: 35.94 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4619, allocations: 0 / 0.5852 GB, free: 35.94 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002817/0.4622, allocations: 68.25 kB / 0.5853 GB, free: 35.93 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001355/0.4623, allocations: 115.7 kB / 0.5854 GB, free: 35.82 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000439/0.4628, allocations: 307 kB / 0.5857 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.4628, allocations: 112 / 0.5857 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.463, allocations: 169.7 kB / 0.5858 GB, free: 35.64 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.4633, allocations: 40.33 kB / 0.5859 GB, free: 35.61 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4644, allocations: 1.018 MB / 0.5869 GB, free: 34.84 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.4646, allocations: 0.7486 MB / 0.5876 GB, free: 34.12 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.4648, allocations: 87.48 kB / 0.5877 GB, free: 34.09 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.4649, allocations: 30.09 kB / 0.5877 GB, free: 34.08 MB / 462.3 MB Notification: Performance of SimCode: time 2.5e-07/0.4649, allocations: 4 kB / 0.5877 GB, free: 34.07 MB / 462.3 MB Notification: Performance of Templates: time 0.005189/0.4701, allocations: 2.786 MB / 0.5904 GB, free: 32.1 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches