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.0009785/0.0009784, allocations: 93.31 kB / 17.31 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.0009747/0.0009749, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.292/1.292, allocations: 223.3 MB / 242.2 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9101/0.9101, allocations: 120.5 MB / 413.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 8 kB / 0.4969 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.4891, allocations: 82.83 MB / 0.5778 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001228/0.4904, allocations: 1.109 MB / 0.5789 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007286/0.4912, allocations: 0.5129 MB / 0.5794 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.4912, allocations: 0 / 0.5794 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.947e-05/0.4913, allocations: 9.406 kB / 0.5794 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.4916, allocations: 41.88 kB / 0.5794 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.301e-05/0.4917, allocations: 42.08 kB / 0.5794 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.4921, allocations: 0.576 MB / 0.58 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.4922, allocations: 9.672 kB / 0.58 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.4924, allocations: 194.7 kB / 0.5802 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.4929, allocations: 308.5 kB / 0.5805 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.808e-05/0.4929, allocations: 30.44 kB / 0.5805 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.4931, allocations: 47.64 kB / 0.5806 GB, free: 40.44 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.4933, allocations: 246.4 kB / 0.5808 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.4935, allocations: 257.5 kB / 0.581 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.4938, allocations: 290 kB / 0.5813 GB, free: 39.97 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4938, allocations: 0 / 0.5813 GB, free: 39.97 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4939, allocations: 4 kB / 0.5813 GB, free: 39.97 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4939, allocations: 0 / 0.5813 GB, free: 39.97 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.001665/0.4955, allocations: 0.8413 MB / 0.5821 GB, free: 39.35 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4956, allocations: 12.81 kB / 0.5822 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.4957, allocations: 44.59 kB / 0.5822 GB, free: 39.33 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.496, allocations: 319.7 kB / 0.5825 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.4961, allocations: 37.34 kB / 0.5825 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.4962, allocations: 59.28 kB / 0.5826 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008433/0.497, allocations: 0.5868 MB / 0.5832 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4971, allocations: 0 / 0.5832 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.4971, allocations: 15.53 kB / 0.5832 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4971, allocations: 10.06 kB / 0.5832 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009185/0.4981, allocations: 0.582 MB / 0.5838 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.4988, allocations: 0.6259 MB / 0.5844 GB, free: 37.94 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.5019, allocations: 1.368 MB / 0.5857 GB, free: 37.33 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/0.5025, allocations: 459.8 kB / 0.5862 GB, free: 37.12 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.5027, allocations: 104 kB / 0.5863 GB, free: 37.01 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.5027, allocations: 48.58 kB / 0.5863 GB, free: 36.96 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.134e-06/0.5027, allocations: 0 / 0.5863 GB, free: 36.96 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001799/0.5045, allocations: 1.339 MB / 0.5876 GB, free: 35.83 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.5045, allocations: 68.41 kB / 0.5877 GB, free: 35.75 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.5046, allocations: 175.2 kB / 0.5878 GB, free: 35.57 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.5047, allocations: 41.7 kB / 0.5879 GB, free: 35.53 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.5047, allocations: 114.1 kB / 0.588 GB, free: 35.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.5049, allocations: 398.2 kB / 0.5884 GB, free: 35.02 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.505, allocations: 97.61 kB / 0.5885 GB, free: 34.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.5051, allocations: 374.7 kB / 0.5888 GB, free: 34.54 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.5057, allocations: 470.2 kB / 0.5893 GB, free: 34.08 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.5063, allocations: 491.5 kB / 0.5897 GB, free: 33.6 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.5074, allocations: 1.044 MB / 0.5908 GB, free: 32.55 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5075, allocations: 0 / 0.5908 GB, free: 32.55 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001452/0.5089, allocations: 1.246 MB / 0.592 GB, free: 31.3 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5089, allocations: 4 kB / 0.592 GB, free: 31.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.509, allocations: 4 kB / 0.592 GB, free: 31.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.509, allocations: 4 kB / 0.592 GB, free: 31.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009519/0.5099, allocations: 271.6 kB / 0.5922 GB, free: 31.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5099, allocations: 4 kB / 0.5922 GB, free: 31.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.5103, allocations: 75.12 kB / 0.5923 GB, free: 30.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.5104, allocations: 43.98 kB / 0.5924 GB, free: 30.9 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.0001981/0.5106, allocations: 209.5 kB / 0.5926 GB, free: 30.69 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.5106, allocations: 51.52 kB / 0.5926 GB, free: 30.64 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.5125, allocations: 1.384 MB / 0.594 GB, free: 29.24 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.5126, allocations: 16 kB / 0.594 GB, free: 29.23 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5126, allocations: 4 kB / 0.594 GB, free: 29.22 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.5126, allocations: 7.969 kB / 0.594 GB, free: 29.21 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007429/0.5133, allocations: 0.7426 MB / 0.5947 GB, free: 28.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5133, allocations: 0 / 0.5947 GB, free: 28.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.5146, allocations: 303.7 kB / 0.595 GB, free: 28.13 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.5147, allocations: 7.938 kB / 0.595 GB, free: 28.12 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-05/0.5147, allocations: 47.91 kB / 0.5951 GB, free: 28.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.5147, allocations: 4 kB / 0.5951 GB, free: 28.07 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5148, allocations: 4 kB / 0.5951 GB, free: 28.07 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.5168, allocations: 1.854 MB / 0.5969 GB, free: 26.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.5171, allocations: 248 kB / 0.5971 GB, free: 25.93 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/0.5172, allocations: 39.97 kB / 0.5971 GB, free: 25.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.5175, allocations: 24 kB / 0.5972 GB, free: 25.86 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5176, allocations: 85.19 kB / 0.5973 GB, free: 25.78 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.5177, allocations: 39.98 kB / 0.5973 GB, free: 25.74 MB / 462.3 MB Notification: Performance of sorting global known variables: time 7.11e-05/0.5178, allocations: 132.3 kB / 0.5974 GB, free: 25.61 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5178, allocations: 0 / 0.5974 GB, free: 25.61 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004295/0.5182, allocations: 236 kB / 0.5976 GB, free: 25.38 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.0001963/0.5184, allocations: 155.8 kB / 0.5978 GB, free: 25.22 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.5197, allocations: 1.155 MB / 0.5989 GB, free: 24.07 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5197, allocations: 0 / 0.5989 GB, free: 24.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006584/0.5204, allocations: 0.6358 MB / 0.5995 GB, free: 23.43 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.5209, allocations: 107.9 kB / 0.5996 GB, free: 23.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.5243, allocations: 3.435 MB / 0.603 GB, free: 19.85 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.5245, allocations: 0.919 MB / 0.6039 GB, free: 18.91 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.5249, allocations: 95.41 kB / 0.604 GB, free: 18.81 MB / 462.3 MB Notification: Performance of SimCode: time 4.61e-07/0.5249, allocations: 0 / 0.604 GB, free: 18.81 MB / 462.3 MB Notification: Performance of Templates: time 0.009672/0.5345, allocations: 9.428 MB / 0.6132 GB, free: 9.402 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/jenkins1/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