Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001398/0.001398, allocations: 106.9 kB / 17.16 MB, free: 6.082 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.001586/0.001586, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.26/1.26, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8722/0.8722, allocations: 119.3 MB / 411.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 55.91 kB / 0.4922 GB, free: 12.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4668, allocations: 80.68 MB / 0.571 GB, free: 43.86 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002664/0.4695, allocations: 1.45 MB / 0.5724 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008537/0.4703, allocations: 0.5171 MB / 0.5729 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.4704, allocations: 1.188 kB / 0.5729 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.67e-05/0.4705, allocations: 7.922 kB / 0.5729 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.4708, allocations: 51.42 kB / 0.573 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.82e-05/0.4709, allocations: 36.67 kB / 0.573 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.4713, allocations: 0.5773 MB / 0.5736 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.4714, allocations: 5.344 kB / 0.5736 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.4716, allocations: 198.2 kB / 0.5738 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.472, allocations: 301.8 kB / 0.5741 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-05/0.4721, allocations: 28.56 kB / 0.5741 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.4722, allocations: 52.78 kB / 0.5741 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.4724, allocations: 242.6 kB / 0.5744 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.4727, allocations: 238.5 kB / 0.5746 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.4729, allocations: 280.5 kB / 0.5749 GB, free: 41.25 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4729, allocations: 0 / 0.5749 GB, free: 41.25 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4729, allocations: 1.375 kB / 0.5749 GB, free: 41.25 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.473, allocations: 0 / 0.5749 GB, free: 41.25 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.001617/0.4746, allocations: 0.8177 MB / 0.5757 GB, free: 40.63 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4746, allocations: 7.5 kB / 0.5757 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.4748, allocations: 48.81 kB / 0.5757 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.4751, allocations: 327.5 kB / 0.576 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.4752, allocations: 32.44 kB / 0.5761 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.4753, allocations: 56.25 kB / 0.5761 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/0.4761, allocations: 0.594 MB / 0.5767 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4762, allocations: 0 / 0.5767 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.4762, allocations: 16.12 kB / 0.5767 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.4762, allocations: 9.625 kB / 0.5767 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008335/0.4771, allocations: 0.5818 MB / 0.5773 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007194/0.4778, allocations: 0.6185 MB / 0.5779 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/0.481, allocations: 1.369 MB / 0.5792 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.4816, allocations: 455.2 kB / 0.5797 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.4818, allocations: 104 kB / 0.5798 GB, free: 38.29 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.4819, allocations: 51.33 kB / 0.5798 GB, free: 38.24 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.344e-06/0.4819, allocations: 1.25 kB / 0.5798 GB, free: 38.24 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.002075/0.4839, allocations: 1.342 MB / 0.5811 GB, free: 37.64 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.484, allocations: 62.56 kB / 0.5812 GB, free: 37.58 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.4841, allocations: 180.7 kB / 0.5814 GB, free: 37.44 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.4842, allocations: 44.83 kB / 0.5814 GB, free: 37.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.4842, allocations: 111.6 kB / 0.5815 GB, free: 37.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.4845, allocations: 399.5 kB / 0.5819 GB, free: 36.94 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.4847, allocations: 199.1 kB / 0.5821 GB, free: 36.82 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.4848, allocations: 375.7 kB / 0.5824 GB, free: 36.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006512/0.4855, allocations: 471 kB / 0.5829 GB, free: 36.26 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006665/0.4861, allocations: 485.2 kB / 0.5834 GB, free: 36.05 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.4875, allocations: 1.044 MB / 0.5844 GB, free: 35.56 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4875, allocations: 0 / 0.5844 GB, free: 35.56 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001576/0.4891, allocations: 1.247 MB / 0.5856 GB, free: 34.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4891, allocations: 4 kB / 0.5856 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4892, allocations: 0 / 0.5856 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4892, allocations: 11.94 kB / 0.5856 GB, free: 34.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009617/0.4901, allocations: 267.7 kB / 0.5859 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.4902, allocations: 8 kB / 0.5859 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.4905, allocations: 79.06 kB / 0.5859 GB, free: 34.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.4906, allocations: 39.98 kB / 0.586 GB, free: 34.15 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.0002001/0.4908, allocations: 213.5 kB / 0.5862 GB, free: 33.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.4909, allocations: 47.52 kB / 0.5862 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.4927, allocations: 1.384 MB / 0.5876 GB, free: 32.49 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.4927, allocations: 12 kB / 0.5876 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4927, allocations: 3.938 kB / 0.5876 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4928, allocations: 11.97 kB / 0.5876 GB, free: 32.46 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.4934, allocations: 0.7426 MB / 0.5883 GB, free: 31.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4934, allocations: 0 / 0.5883 GB, free: 31.67 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.4947, allocations: 311.6 kB / 0.5886 GB, free: 31.37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4947, allocations: 8 kB / 0.5886 GB, free: 31.36 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.4948, allocations: 43.97 kB / 0.5887 GB, free: 31.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.4948, allocations: 4 kB / 0.5887 GB, free: 31.31 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4948, allocations: 3.984 kB / 0.5887 GB, free: 31.31 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.4969, allocations: 1.854 MB / 0.5905 GB, free: 29.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.4972, allocations: 252 kB / 0.5907 GB, free: 29.17 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4973, allocations: 35.98 kB / 0.5908 GB, free: 29.13 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.4976, allocations: 24 kB / 0.5908 GB, free: 29.11 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.4977, allocations: 85.19 kB / 0.5909 GB, free: 29.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.4978, allocations: 39.98 kB / 0.5909 GB, free: 28.98 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.668e-05/0.4979, allocations: 132.3 kB / 0.591 GB, free: 28.86 MB / 462.3 MB Notification: Performance of sort global known variables: time 6.81e-07/0.4979, allocations: 0 / 0.591 GB, free: 28.86 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004736/0.4983, allocations: 231.9 kB / 0.5913 GB, free: 28.63 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.0002021/0.4986, allocations: 163.8 kB / 0.5914 GB, free: 28.46 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.4999, allocations: 1.151 MB / 0.5925 GB, free: 27.31 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4999, allocations: 0 / 0.5925 GB, free: 27.31 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006644/0.5006, allocations: 0.6397 MB / 0.5932 GB, free: 26.67 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.5011, allocations: 99.95 kB / 0.5933 GB, free: 26.57 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.5043, allocations: 3.101 MB / 0.5963 GB, free: 23.44 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.5046, allocations: 0.9281 MB / 0.5972 GB, free: 22.48 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.505, allocations: 95.41 kB / 0.5973 GB, free: 22.39 MB / 462.3 MB Notification: Performance of SimCode: time 8.82e-07/0.505, allocations: 0 / 0.5973 GB, free: 22.39 MB / 462.3 MB Notification: Performance of Templates: time 0.01055/0.5156, allocations: 9.466 MB / 0.6065 GB, free: 12.95 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches