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.001103/0.001103, allocations: 103.1 kB / 16.62 MB, free: 6.809 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.001071/0.001071, allocations: 197.9 kB / 17.55 MB, free: 5.945 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.152/1.152, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7568/0.7568, allocations: 119.3 MB / 410.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 59.91 kB / 0.4918 GB, free: 12.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.386, allocations: 80.68 MB / 0.5706 GB, free: 43.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001771/0.3878, allocations: 1.441 MB / 0.572 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005709/0.3884, allocations: 0.5166 MB / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.3885, allocations: 0 / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.739e-05/0.3885, allocations: 5.516 kB / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.3888, allocations: 57.64 kB / 0.5725 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.423e-05/0.3889, allocations: 30.81 kB / 0.5726 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005744/0.3895, allocations: 1.02 MB / 0.5736 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.3895, allocations: 8.625 kB / 0.5736 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.3898, allocations: 368 kB / 0.5739 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.3903, allocations: 0.5456 MB / 0.5745 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.3904, allocations: 62.98 kB / 0.5745 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.3906, allocations: 77.52 kB / 0.5746 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.3909, allocations: 464.4 kB / 0.575 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.3912, allocations: 451.1 kB / 0.5755 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.3916, allocations: 0.8152 MB / 0.5763 GB, free: 40.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3916, allocations: 0 / 0.5763 GB, free: 40.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3917, allocations: 0 / 0.5763 GB, free: 40.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3917, allocations: 1.094 kB / 0.5763 GB, free: 40.27 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.002438/0.3941, allocations: 1.29 MB / 0.5775 GB, free: 39.4 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.3941, allocations: 18.02 kB / 0.5775 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.3943, allocations: 87.25 kB / 0.5776 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.3948, allocations: 469.8 kB / 0.5781 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.3948, allocations: 70.34 kB / 0.5781 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.395, allocations: 119.1 kB / 0.5783 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.3964, allocations: 1.136 MB / 0.5794 GB, free: 38.25 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3965, allocations: 0 / 0.5794 GB, free: 38.25 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.3965, allocations: 31.56 kB / 0.5794 GB, free: 38.22 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.3966, allocations: 18.94 kB / 0.5794 GB, free: 38.22 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.3981, allocations: 1.261 MB / 0.5806 GB, free: 37.76 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.3992, allocations: 1.091 MB / 0.5817 GB, free: 37.02 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/0.4044, allocations: 2.781 MB / 0.5844 GB, free: 35.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000879/0.4053, allocations: 0.8889 MB / 0.5853 GB, free: 34.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.4055, allocations: 131 kB / 0.5854 GB, free: 34.31 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.4055, allocations: 52.56 kB / 0.5855 GB, free: 34.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 2.475e-06/0.4055, allocations: 0 / 0.5855 GB, free: 34.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.002948/0.4085, allocations: 2.652 MB / 0.5881 GB, free: 31.59 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.4085, allocations: 73.41 kB / 0.5881 GB, free: 31.51 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.4087, allocations: 229 kB / 0.5883 GB, free: 31.28 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.998e-05/0.4088, allocations: 53.7 kB / 0.5884 GB, free: 31.22 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.4088, allocations: 139.3 kB / 0.5885 GB, free: 31.08 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.4091, allocations: 0.7817 MB / 0.5893 GB, free: 30.29 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.4095, allocations: 376.3 kB / 0.5896 GB, free: 29.91 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.718e-05/0.4095, allocations: 322 kB / 0.59 GB, free: 29.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.4106, allocations: 0.9255 MB / 0.5909 GB, free: 28.66 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.4116, allocations: 0.9486 MB / 0.5918 GB, free: 27.7 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.4137, allocations: 2.066 MB / 0.5938 GB, free: 25.61 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4137, allocations: 0 / 0.5938 GB, free: 25.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002549/0.4163, allocations: 2.43 MB / 0.5962 GB, free: 23.13 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4163, allocations: 8.781 kB / 0.5962 GB, free: 23.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4163, allocations: 3.984 kB / 0.5962 GB, free: 23.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4163, allocations: 8 kB / 0.5962 GB, free: 23.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.418, allocations: 0.5228 MB / 0.5967 GB, free: 22.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.418, allocations: 12 kB / 0.5967 GB, free: 22.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.4185, allocations: 138.3 kB / 0.5969 GB, free: 22.44 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4187, allocations: 79.97 kB / 0.5969 GB, free: 22.36 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.0003/0.419, allocations: 313.2 kB / 0.5972 GB, free: 22.04 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.4191, allocations: 86.97 kB / 0.5973 GB, free: 21.96 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.4223, allocations: 2.72 MB / 0.6 GB, free: 19.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.4223, allocations: 28 kB / 0.6 GB, free: 19.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4223, allocations: 0 / 0.6 GB, free: 19.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.4223, allocations: 15.94 kB / 0.6 GB, free: 19.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.4234, allocations: 1.33 MB / 0.6013 GB, free: 17.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.4234, allocations: 0 / 0.6013 GB, free: 17.75 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/0.4257, allocations: 0.5892 MB / 0.6019 GB, free: 17.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.4258, allocations: 8 kB / 0.6019 GB, free: 17.16 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.4259, allocations: 95.92 kB / 0.602 GB, free: 17.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.4259, allocations: 11.94 kB / 0.602 GB, free: 17.05 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4259, allocations: 7.938 kB / 0.602 GB, free: 17.04 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.4295, allocations: 3.611 MB / 0.6055 GB, free: 13.36 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.4299, allocations: 418.8 kB / 0.6059 GB, free: 12.93 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.4301, allocations: 79.95 kB / 0.606 GB, free: 12.85 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.4307, allocations: 44 kB / 0.606 GB, free: 12.8 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.4309, allocations: 169.9 kB / 0.6062 GB, free: 12.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.431, allocations: 79.97 kB / 0.6063 GB, free: 12.56 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.339e-05/0.4311, allocations: 176.4 kB / 0.6065 GB, free: 12.39 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4311, allocations: 0 / 0.6065 GB, free: 12.39 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005807/0.4317, allocations: 456 kB / 0.6069 GB, free: 11.95 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.0002502/0.4319, allocations: 213 kB / 0.6071 GB, free: 11.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.007273/0.4392, allocations: 5.868 MB / 0.6128 GB, free: 5.828 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4392, allocations: 0 / 0.6128 GB, free: 5.828 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.4404, allocations: 1.265 MB / 0.6141 GB, free: 4.559 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.441, allocations: 200.3 kB / 0.6142 GB, free: 4.363 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005677/0.4467, allocations: 5.925 MB / 0.62 GB, free: 14.39 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.4473, allocations: 1.155 MB / 0.6212 GB, free: 13.2 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001461/0.4488, allocations: 0.7356 MB / 0.6219 GB, free: 12.46 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/0.4493, allocations: 167.4 kB / 0.622 GB, free: 12.3 MB / 478.3 MB Notification: Performance of SimCode: time 4.41e-07/0.4493, allocations: 0 / 0.622 GB, free: 12.3 MB / 478.3 MB Notification: Performance of Templates: time 0.0248/0.4741, allocations: 18.83 MB / 0.6404 GB, free: 9.531 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/jenkins/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