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.0009065/0.0009065, allocations: 88.56 kB / 16.65 MB, free: 6.598 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.001043/0.001043, allocations: 177.8 kB / 17.56 MB, free: 6.203 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.237/1.237, allocations: 223.2 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8544/0.8544, allocations: 120.5 MB / 413.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 8 kB / 0.4962 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4781, allocations: 82.84 MB / 0.5771 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001107/0.4793, allocations: 1.106 MB / 0.5782 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006652/0.4799, allocations: 0.5066 MB / 0.5787 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.48, allocations: 1.375 kB / 0.5787 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.436e-05/0.4801, allocations: 7.922 kB / 0.5787 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.4803, allocations: 50.92 kB / 0.5788 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.343e-05/0.4804, allocations: 37.52 kB / 0.5788 GB, free: 41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.4808, allocations: 0.5836 MB / 0.5794 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.4808, allocations: 6.781 kB / 0.5794 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.481, allocations: 194.1 kB / 0.5796 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.4814, allocations: 300.5 kB / 0.5798 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.349e-05/0.4815, allocations: 29.53 kB / 0.5799 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.4816, allocations: 52.59 kB / 0.5799 GB, free: 40.44 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.4818, allocations: 242.3 kB / 0.5802 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.4821, allocations: 265.2 kB / 0.5804 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.4824, allocations: 427.3 kB / 0.5808 GB, free: 39.87 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.4824, allocations: 5.25 kB / 0.5808 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4824, allocations: 0 / 0.5808 GB, free: 39.86 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.4824, allocations: 0 / 0.5808 GB, free: 39.86 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.001545/0.484, allocations: 0.8471 MB / 0.5816 GB, free: 39.24 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.484, allocations: 8.844 kB / 0.5817 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.4841, allocations: 43.16 kB / 0.5817 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.4844, allocations: 328.1 kB / 0.582 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.4845, allocations: 41.34 kB / 0.582 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.4846, allocations: 60.36 kB / 0.5821 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008523/0.4855, allocations: 0.5827 MB / 0.5827 GB, free: 38.54 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4855, allocations: 0 / 0.5827 GB, free: 38.54 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.4855, allocations: 19.7 kB / 0.5827 GB, free: 38.53 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.4855, allocations: 10.12 kB / 0.5827 GB, free: 38.53 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008203/0.4864, allocations: 0.5826 MB / 0.5833 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.487, allocations: 0.618 MB / 0.5839 GB, free: 37.83 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.49, allocations: 1.367 MB / 0.5852 GB, free: 37.22 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/0.4906, allocations: 452.4 kB / 0.5856 GB, free: 37.02 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.4908, allocations: 111.9 kB / 0.5857 GB, free: 36.9 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.4908, allocations: 44.59 kB / 0.5858 GB, free: 36.86 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 1.854e-06/0.4908, allocations: 0 / 0.5858 GB, free: 36.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001724/0.4925, allocations: 1.343 MB / 0.5871 GB, free: 35.7 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.4926, allocations: 68.41 kB / 0.5872 GB, free: 35.62 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.4927, allocations: 175.2 kB / 0.5873 GB, free: 35.44 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.4927, allocations: 41.7 kB / 0.5874 GB, free: 35.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.4928, allocations: 106.1 kB / 0.5875 GB, free: 35.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.4929, allocations: 410.2 kB / 0.5879 GB, free: 34.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/0.4931, allocations: 93.67 kB / 0.588 GB, free: 34.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.4931, allocations: 370.7 kB / 0.5883 GB, free: 34.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005583/0.4937, allocations: 470.3 kB / 0.5888 GB, free: 33.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.4942, allocations: 491.5 kB / 0.5892 GB, free: 33.47 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.4954, allocations: 1.04 MB / 0.5902 GB, free: 32.43 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4954, allocations: 0 / 0.5902 GB, free: 32.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001355/0.4968, allocations: 1.246 MB / 0.5915 GB, free: 31.18 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4968, allocations: 10.28 kB / 0.5915 GB, free: 31.17 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4968, allocations: 4 kB / 0.5915 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4968, allocations: 4 kB / 0.5915 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008934/0.4977, allocations: 267.7 kB / 0.5917 GB, free: 30.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.4977, allocations: 4 kB / 0.5917 GB, free: 30.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.4981, allocations: 79.11 kB / 0.5918 GB, free: 30.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.4981, allocations: 43.98 kB / 0.5919 GB, free: 30.77 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.0001947/0.4983, allocations: 209.4 kB / 0.5921 GB, free: 30.56 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.4984, allocations: 47.47 kB / 0.5921 GB, free: 30.51 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.5003, allocations: 1.392 MB / 0.5935 GB, free: 29.11 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5003, allocations: 16 kB / 0.5935 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5003, allocations: 0 / 0.5935 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.5003, allocations: 3.984 kB / 0.5935 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.501, allocations: 0.7465 MB / 0.5942 GB, free: 28.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.501, allocations: 4 kB / 0.5942 GB, free: 28.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.5023, allocations: 307.6 kB / 0.5945 GB, free: 27.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.5023, allocations: 4 kB / 0.5945 GB, free: 27.99 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.543e-05/0.5024, allocations: 47.95 kB / 0.5946 GB, free: 27.94 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.5024, allocations: 8 kB / 0.5946 GB, free: 27.93 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5024, allocations: 0 / 0.5946 GB, free: 27.93 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.5045, allocations: 1.85 MB / 0.5964 GB, free: 26.06 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.5048, allocations: 252 kB / 0.5966 GB, free: 25.79 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.5049, allocations: 39.97 kB / 0.5966 GB, free: 25.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.5052, allocations: 28 kB / 0.5967 GB, free: 25.73 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.5053, allocations: 85.14 kB / 0.5968 GB, free: 25.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.5054, allocations: 39.98 kB / 0.5968 GB, free: 25.61 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.283e-05/0.5055, allocations: 132.3 kB / 0.5969 GB, free: 25.48 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5055, allocations: 0 / 0.5969 GB, free: 25.48 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004914/0.506, allocations: 236 kB / 0.5971 GB, free: 25.25 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.0002229/0.5062, allocations: 155.8 kB / 0.5973 GB, free: 25.08 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.5076, allocations: 1.147 MB / 0.5984 GB, free: 23.94 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5076, allocations: 0 / 0.5984 GB, free: 23.94 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006581/0.5083, allocations: 0.6358 MB / 0.599 GB, free: 23.3 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.5087, allocations: 107.9 kB / 0.5991 GB, free: 23.2 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.512, allocations: 3.398 MB / 0.6025 GB, free: 19.77 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.5122, allocations: 0.9231 MB / 0.6034 GB, free: 18.82 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006816/0.5129, allocations: 372.8 kB / 0.6037 GB, free: 18.45 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.5132, allocations: 91.42 kB / 0.6038 GB, free: 18.36 MB / 462.3 MB Notification: Performance of SimCode: time 2.11e-07/0.5132, allocations: 3.938 kB / 0.6038 GB, free: 18.36 MB / 462.3 MB Notification: Performance of Templates: time 0.01192/0.5251, allocations: 9.055 MB / 0.6126 GB, free: 9.352 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/jenkins/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