Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 113.5 kB / 17.69 MB, free: 5.309 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.001649/0.001649, allocations: 191 kB / 18.63 MB, free: 4.375 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.254/1.254, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8328/0.8328, allocations: 119.3 MB / 411.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 0.4937 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4008, allocations: 80.69 MB / 0.5725 GB, free: 43.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001984/0.4028, allocations: 1.376 MB / 0.5739 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000683/0.4035, allocations: 0.5199 MB / 0.5744 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.4036, allocations: 1.25 kB / 0.5744 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.846e-05/0.4037, allocations: 7.922 kB / 0.5744 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.4039, allocations: 51.62 kB / 0.5744 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.777e-05/0.404, allocations: 42.09 kB / 0.5745 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.4043, allocations: 320.5 kB / 0.5748 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.4044, allocations: 4.094 kB / 0.5748 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.4045, allocations: 116.3 kB / 0.5749 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.4047, allocations: 163.4 kB / 0.5751 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.4048, allocations: 15.62 kB / 0.5751 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.4049, allocations: 37.69 kB / 0.5751 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.4051, allocations: 125.3 kB / 0.5752 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.4052, allocations: 126.4 kB / 0.5753 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.4054, allocations: 241.8 kB / 0.5756 GB, free: 41.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.4054, allocations: 0 / 0.5756 GB, free: 41.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4054, allocations: 0.9375 kB / 0.5756 GB, free: 41.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.4055, allocations: 3.938 kB / 0.5756 GB, free: 41.73 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009333/0.4064, allocations: 0.5838 MB / 0.5762 GB, free: 41.23 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.4064, allocations: 17.33 kB / 0.5762 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.4065, allocations: 25.25 kB / 0.5762 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.4068, allocations: 245.5 kB / 0.5764 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4068, allocations: 22.11 kB / 0.5764 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.4068, allocations: 31.53 kB / 0.5765 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.4072, allocations: 316.5 kB / 0.5768 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.4073, allocations: 5.906 kB / 0.5768 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.4073, allocations: 13.73 kB / 0.5768 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4073, allocations: 3.844 kB / 0.5768 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.4077, allocations: 291.2 kB / 0.5771 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.408, allocations: 397 kB / 0.5775 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.4096, allocations: 0.6798 MB / 0.5781 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.4099, allocations: 230.3 kB / 0.5783 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.4101, allocations: 95.14 kB / 0.5784 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.4101, allocations: 37.75 kB / 0.5785 GB, free: 39.73 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.693e-06/0.4101, allocations: 3.938 kB / 0.5785 GB, free: 39.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001087/0.4112, allocations: 0.6985 MB / 0.5792 GB, free: 39.4 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.4112, allocations: 61.38 kB / 0.5792 GB, free: 39.33 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.4113, allocations: 147.4 kB / 0.5794 GB, free: 39.2 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4114, allocations: 39.53 kB / 0.5794 GB, free: 39.16 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.4114, allocations: 96.83 kB / 0.5795 GB, free: 39.06 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.4115, allocations: 205.9 kB / 0.5797 GB, free: 38.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.4116, allocations: 109.4 kB / 0.5798 GB, free: 38.82 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.4117, allocations: 338.9 kB / 0.5801 GB, free: 38.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.412, allocations: 243.3 kB / 0.5803 GB, free: 38.38 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.4123, allocations: 246.6 kB / 0.5806 GB, free: 38.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/0.413, allocations: 0.5273 MB / 0.5811 GB, free: 38.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.413, allocations: 0 / 0.5811 GB, free: 38.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008029/0.4138, allocations: 0.6476 MB / 0.5817 GB, free: 37.71 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4138, allocations: 5.062 kB / 0.5817 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4138, allocations: 1.25 kB / 0.5817 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4138, allocations: 2.531 kB / 0.5817 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.4144, allocations: 143.1 kB / 0.5819 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4144, allocations: 6.469 kB / 0.5819 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.4146, allocations: 43.09 kB / 0.5819 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.4146, allocations: 17.88 kB / 0.5819 GB, free: 37.64 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 (74): * Single equations (assignments): 74 * 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.0001138/0.4147, allocations: 170.4 kB / 0.5821 GB, free: 37.48 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.4148, allocations: 28.31 kB / 0.5821 GB, free: 37.47 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.4158, allocations: 0.7271 MB / 0.5828 GB, free: 37.08 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.4158, allocations: 6.688 kB / 0.5828 GB, free: 37.08 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4159, allocations: 4.969 kB / 0.5828 GB, free: 37.08 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.4159, allocations: 3.984 kB / 0.5828 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.4163, allocations: 458.9 kB / 0.5833 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4163, allocations: 5.188 kB / 0.5833 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/0.417, allocations: 158.3 kB / 0.5834 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.417, allocations: 2.156 kB / 0.5834 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.4171, allocations: 27.58 kB / 0.5835 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4171, allocations: 2.312 kB / 0.5835 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4171, allocations: 3.938 kB / 0.5835 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.4183, allocations: 0.9625 MB / 0.5844 GB, free: 36.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.4185, allocations: 169.9 kB / 0.5846 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.4185, allocations: 20.05 kB / 0.5846 GB, free: 36.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.4187, allocations: 23.38 kB / 0.5846 GB, free: 36.01 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.4188, allocations: 41.59 kB / 0.5847 GB, free: 35.99 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.4188, allocations: 23.11 kB / 0.5847 GB, free: 35.98 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.224e-05/0.4189, allocations: 112.4 kB / 0.5848 GB, free: 35.89 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4189, allocations: 0 / 0.5848 GB, free: 35.89 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003217/0.4192, allocations: 130.8 kB / 0.5849 GB, free: 35.86 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001442/0.4194, allocations: 132.1 kB / 0.585 GB, free: 35.75 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007434/0.4201, allocations: 0.5804 MB / 0.5856 GB, free: 35.52 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4201, allocations: 0 / 0.5856 GB, free: 35.52 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.4205, allocations: 331.5 kB / 0.5859 GB, free: 35.27 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.4208, allocations: 63.78 kB / 0.586 GB, free: 35.21 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.4224, allocations: 1.499 MB / 0.5874 GB, free: 33.68 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.4225, allocations: 0.8051 MB / 0.5882 GB, free: 32.85 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002818/0.4228, allocations: 179.1 kB / 0.5884 GB, free: 32.68 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.423, allocations: 47.42 kB / 0.5884 GB, free: 32.63 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.423, allocations: 0 / 0.5884 GB, free: 32.63 MB / 462.3 MB Notification: Performance of Templates: time 0.00698/0.4299, allocations: 5.232 MB / 0.5936 GB, free: 27.44 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches