Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 95.23 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.001364/0.001364, allocations: 179.5 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.398/1.398, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.045/1.045, allocations: 120.5 MB / 413.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 15.94 kB / 0.4962 GB, free: 10.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5605/0.5609, allocations: 82.83 MB / 0.5771 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001122/0.5621, allocations: 1.11 MB / 0.5782 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.5628, allocations: 0.5087 MB / 0.5787 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.5628, allocations: 0 / 0.5787 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.5629, allocations: 3.938 kB / 0.5787 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.563, allocations: 47.11 kB / 0.5788 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 6.441e-05/0.5631, allocations: 37.61 kB / 0.5788 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.5633, allocations: 247.2 kB / 0.579 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.5634, allocations: 4.156 kB / 0.579 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.5635, allocations: 67.97 kB / 0.5791 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.5637, allocations: 107.3 kB / 0.5792 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.5637, allocations: 8.875 kB / 0.5792 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.5638, allocations: 38.03 kB / 0.5792 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.5639, allocations: 63.36 kB / 0.5793 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.604e-05/0.564, allocations: 99.47 kB / 0.5794 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.5641, allocations: 142.4 kB / 0.5795 GB, free: 39.99 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5641, allocations: 0 / 0.5795 GB, free: 39.99 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5642, allocations: 0 / 0.5795 GB, free: 39.99 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.5642, allocations: 0 / 0.5795 GB, free: 39.99 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006396/0.5648, allocations: 454.7 kB / 0.58 GB, free: 39.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5649, allocations: 9.625 kB / 0.58 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.5649, allocations: 17 kB / 0.58 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.5651, allocations: 212.7 kB / 0.5802 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.5651, allocations: 16.23 kB / 0.5802 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.5651, allocations: 17.53 kB / 0.5802 GB, free: 39.3 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.5654, allocations: 176.3 kB / 0.5804 GB, free: 39.19 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5654, allocations: 0 / 0.5804 GB, free: 39.19 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.5654, allocations: 5.125 kB / 0.5804 GB, free: 39.19 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5654, allocations: 2.312 kB / 0.5804 GB, free: 39.19 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.5657, allocations: 148.5 kB / 0.5805 GB, free: 39.12 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.5659, allocations: 284.7 kB / 0.5808 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008713/0.5668, allocations: 357.6 kB / 0.5812 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.567, allocations: 120 kB / 0.5813 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.5672, allocations: 87.97 kB / 0.5814 GB, free: 38.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.5672, allocations: 41.31 kB / 0.5814 GB, free: 38.49 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.252e-06/0.5672, allocations: 0 / 0.5814 GB, free: 38.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006637/0.5679, allocations: 381.5 kB / 0.5818 GB, free: 38.31 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.5679, allocations: 55.12 kB / 0.5818 GB, free: 38.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.568, allocations: 138.1 kB / 0.5819 GB, free: 38.13 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.568, allocations: 30.64 kB / 0.582 GB, free: 38.09 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.5681, allocations: 91.45 kB / 0.5821 GB, free: 38 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.5682, allocations: 112.3 kB / 0.5822 GB, free: 37.91 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.5682, allocations: 30.92 kB / 0.5822 GB, free: 37.88 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.5683, allocations: 332.3 kB / 0.5825 GB, free: 37.55 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.5685, allocations: 127.8 kB / 0.5826 GB, free: 37.49 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.5687, allocations: 127.3 kB / 0.5828 GB, free: 37.43 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.5691, allocations: 273.1 kB / 0.583 GB, free: 37.31 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5691, allocations: 0.9062 kB / 0.583 GB, free: 37.31 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004838/0.5696, allocations: 354.8 kB / 0.5834 GB, free: 37.14 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5696, allocations: 6.312 kB / 0.5834 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5696, allocations: 0 / 0.5834 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5696, allocations: 9.172 kB / 0.5834 GB, free: 37.13 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.5699, allocations: 75.62 kB / 0.5834 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.5699, allocations: 5.188 kB / 0.5834 GB, free: 37.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.5701, allocations: 31.44 kB / 0.5835 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.5701, allocations: 7.562 kB / 0.5835 GB, free: 37.09 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 (39): * Single equations (assignments): 39 * 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.0001021/0.5702, allocations: 141.1 kB / 0.5836 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.5702, allocations: 19.36 kB / 0.5836 GB, free: 36.94 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000647/0.5709, allocations: 398.3 kB / 0.584 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5709, allocations: 3.781 kB / 0.584 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.5709, allocations: 1.281 kB / 0.584 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.5709, allocations: 3.984 kB / 0.584 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.5712, allocations: 313.9 kB / 0.5843 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5712, allocations: 0 / 0.5843 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.5716, allocations: 84.06 kB / 0.5844 GB, free: 36.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5716, allocations: 1.281 kB / 0.5844 GB, free: 36.41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.5717, allocations: 14.3 kB / 0.5844 GB, free: 36.4 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5717, allocations: 5.25 kB / 0.5844 GB, free: 36.4 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5717, allocations: 0 / 0.5844 GB, free: 36.4 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.5725, allocations: 0.5258 MB / 0.5849 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.5726, allocations: 125.1 kB / 0.5851 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5727, allocations: 12.58 kB / 0.5851 GB, free: 35.99 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.5728, allocations: 8.938 kB / 0.5851 GB, free: 35.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.5728, allocations: 19.97 kB / 0.5851 GB, free: 35.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.5729, allocations: 16.31 kB / 0.5851 GB, free: 35.96 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.5729, allocations: 101.1 kB / 0.5852 GB, free: 35.88 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5729, allocations: 0 / 0.5852 GB, free: 35.88 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003452/0.5733, allocations: 73.19 kB / 0.5853 GB, free: 35.86 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001781/0.5735, allocations: 111.5 kB / 0.5854 GB, free: 35.77 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.574, allocations: 307 kB / 0.5857 GB, free: 35.64 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.574, allocations: 112 / 0.5857 GB, free: 35.64 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.5742, allocations: 173.4 kB / 0.5858 GB, free: 35.57 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.5745, allocations: 45.7 kB / 0.5859 GB, free: 35.54 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.5757, allocations: 1.01 MB / 0.5869 GB, free: 34.78 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.5759, allocations: 0.7487 MB / 0.5876 GB, free: 34.06 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.5761, allocations: 92.41 kB / 0.5877 GB, free: 34.02 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/0.5762, allocations: 32.73 kB / 0.5877 GB, free: 34.01 MB / 462.3 MB Notification: Performance of SimCode: time 3.81e-07/0.5762, allocations: 1 kB / 0.5877 GB, free: 34.01 MB / 462.3 MB Notification: Performance of Templates: time 0.005507/0.5817, allocations: 2.782 MB / 0.5904 GB, free: 32.13 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches