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.001219/0.001219, allocations: 109 kB / 17.16 MB, free: 6.324 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.00121/0.00121, allocations: 202.8 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.309/1.309, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8715/0.8715, allocations: 119.3 MB / 411.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.91 kB / 0.4922 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.4623, allocations: 80.68 MB / 0.571 GB, free: 43.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002092/0.4645, allocations: 1.447 MB / 0.5724 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006716/0.4652, allocations: 0.5212 MB / 0.5729 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.4652, allocations: 0 / 0.5729 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.006e-05/0.4653, allocations: 9.016 kB / 0.5729 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.4655, allocations: 46.17 kB / 0.573 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.453e-05/0.4656, allocations: 30.16 kB / 0.573 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006502/0.4663, allocations: 1.041 MB / 0.574 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.4663, allocations: 9.125 kB / 0.574 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.4666, allocations: 360.6 kB / 0.5744 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.4672, allocations: 0.5545 MB / 0.5749 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.4673, allocations: 58.34 kB / 0.575 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.4676, allocations: 89.44 kB / 0.5751 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.4679, allocations: 465.7 kB / 0.5755 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.4683, allocations: 446.4 kB / 0.5759 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.4687, allocations: 0.5377 MB / 0.5765 GB, free: 40.45 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4687, allocations: 1.375 kB / 0.5765 GB, free: 40.45 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4687, allocations: 0 / 0.5765 GB, free: 40.45 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4687, allocations: 0 / 0.5765 GB, free: 40.45 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.00261/0.4713, allocations: 1.287 MB / 0.5777 GB, free: 39.59 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.4714, allocations: 9.219 kB / 0.5777 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.4716, allocations: 92.17 kB / 0.5778 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.4721, allocations: 469.7 kB / 0.5783 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.4722, allocations: 65.31 kB / 0.5783 GB, free: 39.13 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.4724, allocations: 116.3 kB / 0.5784 GB, free: 39.08 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.4739, allocations: 1.14 MB / 0.5796 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.474, allocations: 0 / 0.5796 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-05/0.4741, allocations: 30.34 kB / 0.5796 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.4741, allocations: 20.19 kB / 0.5796 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.4757, allocations: 1.261 MB / 0.5808 GB, free: 37.95 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.477, allocations: 1.087 MB / 0.5819 GB, free: 37.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005696/0.4827, allocations: 2.791 MB / 0.5846 GB, free: 35.67 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009707/0.4837, allocations: 0.8851 MB / 0.5855 GB, free: 34.79 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.4839, allocations: 119 kB / 0.5856 GB, free: 34.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.484, allocations: 56.56 kB / 0.5857 GB, free: 34.59 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 2.755e-06/0.484, allocations: 4 kB / 0.5857 GB, free: 34.58 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003319/0.4873, allocations: 2.648 MB / 0.5882 GB, free: 31.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.4873, allocations: 73.41 kB / 0.5883 GB, free: 31.85 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.4875, allocations: 233 kB / 0.5885 GB, free: 31.61 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.986e-05/0.4876, allocations: 57.7 kB / 0.5886 GB, free: 31.55 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.4876, allocations: 127.3 kB / 0.5887 GB, free: 31.42 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/0.488, allocations: 0.7855 MB / 0.5895 GB, free: 30.62 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/0.4884, allocations: 384.2 kB / 0.5898 GB, free: 30.24 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.4884, allocations: 326 kB / 0.5902 GB, free: 29.92 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.4896, allocations: 0.9177 MB / 0.5911 GB, free: 29 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.4907, allocations: 0.9486 MB / 0.592 GB, free: 28.04 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.493, allocations: 2.066 MB / 0.594 GB, free: 25.94 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.493, allocations: 0 / 0.594 GB, free: 25.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002801/0.4958, allocations: 2.43 MB / 0.5964 GB, free: 23.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4959, allocations: 4 kB / 0.5964 GB, free: 23.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.4959, allocations: 0 / 0.5964 GB, free: 23.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4959, allocations: 12 kB / 0.5964 GB, free: 23.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.4976, allocations: 0.5228 MB / 0.5969 GB, free: 22.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.4977, allocations: 8 kB / 0.5969 GB, free: 22.92 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.4982, allocations: 150.3 kB / 0.597 GB, free: 22.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.4984, allocations: 79.97 kB / 0.5971 GB, free: 22.69 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.0003323/0.4987, allocations: 309.2 kB / 0.5974 GB, free: 22.38 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.4989, allocations: 86.97 kB / 0.5975 GB, free: 22.29 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/0.5024, allocations: 2.72 MB / 0.6002 GB, free: 19.52 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.5024, allocations: 28 kB / 0.6002 GB, free: 19.49 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5024, allocations: 0 / 0.6002 GB, free: 19.49 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.5024, allocations: 19.94 kB / 0.6002 GB, free: 19.47 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.5037, allocations: 1.334 MB / 0.6015 GB, free: 18.08 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5038, allocations: 4 kB / 0.6015 GB, free: 18.08 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/0.5062, allocations: 0.5891 MB / 0.6021 GB, free: 17.49 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.5063, allocations: 8 kB / 0.6021 GB, free: 17.48 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.5064, allocations: 91.94 kB / 0.6022 GB, free: 17.39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.5064, allocations: 12 kB / 0.6022 GB, free: 17.38 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5064, allocations: 3.984 kB / 0.6022 GB, free: 17.38 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.5104, allocations: 3.615 MB / 0.6057 GB, free: 13.68 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/0.5109, allocations: 414.8 kB / 0.6061 GB, free: 13.26 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.5111, allocations: 79.95 kB / 0.6062 GB, free: 13.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/0.5117, allocations: 44 kB / 0.6062 GB, free: 13.14 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.5119, allocations: 165.9 kB / 0.6064 GB, free: 12.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.5121, allocations: 79.97 kB / 0.6065 GB, free: 12.89 MB / 462.3 MB Notification: Performance of sorting global known variables: time 9.92e-05/0.5122, allocations: 172.5 kB / 0.6066 GB, free: 12.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 6.72e-07/0.5122, allocations: 0 / 0.6066 GB, free: 12.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007218/0.5129, allocations: 451.9 kB / 0.6071 GB, free: 12.29 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.000276/0.5132, allocations: 221 kB / 0.6073 GB, free: 12.06 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002625/0.5158, allocations: 2.267 MB / 0.6095 GB, free: 9.766 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5158, allocations: 0 / 0.6095 GB, free: 9.766 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.5171, allocations: 1.273 MB / 0.6107 GB, free: 8.488 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.5179, allocations: 196.2 kB / 0.6109 GB, free: 8.297 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005974/0.5238, allocations: 5.991 MB / 0.6168 GB, free: 2.25 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.5242, allocations: 1.151 MB / 0.6179 GB, free: 1.066 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/0.5249, allocations: 179.4 kB / 0.6181 GB, free: 0.8906 MB / 462.3 MB Notification: Performance of SimCode: time 5.11e-07/0.5249, allocations: 3.938 kB / 0.6181 GB, free: 0.8867 MB / 462.3 MB Notification: Performance of Templates: time 0.02593/0.5509, allocations: 18.49 MB / 0.6361 GB, free: 14.41 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/jenkins1/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