Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008964, allocations: 90.11 kB / 16.65 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.0009874/0.0009875, allocations: 178.8 kB / 17.56 MB, free: 6.176 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.277/1.277, allocations: 223.3 MB / 241.6 MB, free: 14.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9015/0.9015, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003155, allocations: 8 kB / 0.4963 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4657, allocations: 82.83 MB / 0.5771 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001059/0.4668, allocations: 1.098 MB / 0.5782 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006321/0.4675, allocations: 0.5121 MB / 0.5787 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.4675, allocations: 0 / 0.5787 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.83e-05/0.4676, allocations: 9.297 kB / 0.5787 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.4678, allocations: 49.55 kB / 0.5788 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.216e-05/0.4679, allocations: 33.47 kB / 0.5788 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.4681, allocations: 360.5 kB / 0.5791 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.4682, allocations: 4.5 kB / 0.5791 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.4683, allocations: 119.2 kB / 0.5793 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.4686, allocations: 170.3 kB / 0.5794 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.4686, allocations: 15.16 kB / 0.5794 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.441e-05/0.4687, allocations: 45.55 kB / 0.5795 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.4688, allocations: 120.4 kB / 0.5796 GB, free: 40 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.4689, allocations: 152.4 kB / 0.5797 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.4691, allocations: 236.9 kB / 0.58 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4692, allocations: 5.375 kB / 0.58 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4692, allocations: 0 / 0.58 GB, free: 39.75 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.4692, allocations: 0 / 0.58 GB, free: 39.75 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008665/0.47, allocations: 0.5656 MB / 0.5805 GB, free: 39.27 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.4701, allocations: 12.23 kB / 0.5805 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.4701, allocations: 26.41 kB / 0.5806 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.4703, allocations: 249.1 kB / 0.5808 GB, free: 39.01 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4704, allocations: 16.69 kB / 0.5808 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.4704, allocations: 25.88 kB / 0.5808 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.4709, allocations: 324 kB / 0.5811 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.4709, allocations: 0 / 0.5811 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.4709, allocations: 9.844 kB / 0.5812 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4709, allocations: 5.531 kB / 0.5812 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.4714, allocations: 295.4 kB / 0.5814 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.4718, allocations: 401 kB / 0.5818 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.4733, allocations: 0.6788 MB / 0.5825 GB, free: 38.04 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.4736, allocations: 234.3 kB / 0.5827 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.4738, allocations: 102.3 kB / 0.5828 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.4738, allocations: 41.47 kB / 0.5829 GB, free: 37.77 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.513e-06/0.4738, allocations: 1.281 kB / 0.5829 GB, free: 37.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001007/0.4748, allocations: 0.6867 MB / 0.5835 GB, free: 37.45 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.4749, allocations: 60.88 kB / 0.5836 GB, free: 37.38 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/0.475, allocations: 150.1 kB / 0.5837 GB, free: 37.25 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.475, allocations: 32.23 kB / 0.5838 GB, free: 37.21 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.475, allocations: 100.9 kB / 0.5839 GB, free: 37.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.4751, allocations: 202.4 kB / 0.584 GB, free: 36.94 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.4752, allocations: 55.38 kB / 0.5841 GB, free: 36.9 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.4753, allocations: 344.9 kB / 0.5844 GB, free: 36.56 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.4756, allocations: 236.6 kB / 0.5847 GB, free: 36.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.476, allocations: 246 kB / 0.5849 GB, free: 36.35 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.4766, allocations: 0.5323 MB / 0.5854 GB, free: 36.11 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4766, allocations: 3.938 kB / 0.5854 GB, free: 36.1 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008341/0.4775, allocations: 0.6433 MB / 0.586 GB, free: 35.8 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4775, allocations: 5.25 kB / 0.586 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.4775, allocations: 4 kB / 0.586 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4775, allocations: 3.281 kB / 0.586 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.478, allocations: 142.8 kB / 0.5862 GB, free: 35.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4781, allocations: 6.688 kB / 0.5862 GB, free: 35.76 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.4783, allocations: 38.81 kB / 0.5862 GB, free: 35.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.4783, allocations: 21.73 kB / 0.5862 GB, free: 35.72 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 (74): * Single equations (assignments): 74 * 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.000116/0.4784, allocations: 158.2 kB / 0.5864 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.4785, allocations: 25.47 kB / 0.5864 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.4795, allocations: 0.7227 MB / 0.5871 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.4795, allocations: 7.562 kB / 0.5871 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4796, allocations: 3.938 kB / 0.5871 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4796, allocations: 5.266 kB / 0.5871 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.48, allocations: 462 kB / 0.5876 GB, free: 34.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.48, allocations: 1.281 kB / 0.5876 GB, free: 34.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006922/0.4807, allocations: 158 kB / 0.5877 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4807, allocations: 2.531 kB / 0.5877 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.4807, allocations: 27.36 kB / 0.5878 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4807, allocations: 6.438 kB / 0.5878 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4807, allocations: 3.938 kB / 0.5878 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.4818, allocations: 0.9655 MB / 0.5887 GB, free: 33.87 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.4819, allocations: 176.6 kB / 0.5889 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.482, allocations: 19.98 kB / 0.5889 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.4822, allocations: 12 kB / 0.5889 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.4822, allocations: 44.59 kB / 0.589 GB, free: 33.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.4823, allocations: 24 kB / 0.589 GB, free: 33.58 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.4823, allocations: 113.5 kB / 0.5891 GB, free: 33.47 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4823, allocations: 0 / 0.5891 GB, free: 33.47 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002906/0.4826, allocations: 116 kB / 0.5892 GB, free: 33.36 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001509/0.4828, allocations: 139 kB / 0.5893 GB, free: 33.21 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006523/0.4834, allocations: 0.5794 MB / 0.5899 GB, free: 32.63 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4834, allocations: 4 kB / 0.5899 GB, free: 32.63 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.4838, allocations: 331.5 kB / 0.5902 GB, free: 32.3 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.4841, allocations: 60.7 kB / 0.5903 GB, free: 32.25 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.4858, allocations: 1.808 MB / 0.592 GB, free: 30.41 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.4859, allocations: 0.8053 MB / 0.5928 GB, free: 29.58 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.4863, allocations: 179.1 kB / 0.593 GB, free: 29.41 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.4864, allocations: 47.42 kB / 0.593 GB, free: 29.36 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.4864, allocations: 4 kB / 0.5931 GB, free: 29.36 MB / 462.3 MB Notification: Performance of Templates: time 0.006983/0.4934, allocations: 4.863 MB / 0.5978 GB, free: 24.53 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches