Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001389/0.001389, allocations: 111.2 kB / 17.68 MB, free: 5.355 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.001403/0.001403, allocations: 192 kB / 18.62 MB, free: 4.434 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.45/1.45, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.163/1.163, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 0.4937 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6958/0.6971, allocations: 80.69 MB / 0.5725 GB, free: 43.88 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002608/0.6997, allocations: 1.381 MB / 0.5739 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.7005, allocations: 0.513 MB / 0.5744 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.7006, allocations: 0 / 0.5744 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.037e-05/0.7006, allocations: 13.3 kB / 0.5744 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.7009, allocations: 46.41 kB / 0.5744 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.7011, allocations: 41.5 kB / 0.5745 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.7013, allocations: 200.2 kB / 0.5746 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.7013, allocations: 3.688 kB / 0.5747 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.7015, allocations: 77.19 kB / 0.5747 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.7017, allocations: 103.5 kB / 0.5748 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.7017, allocations: 8.75 kB / 0.5748 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.146e-05/0.7018, allocations: 30.05 kB / 0.5749 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.7019, allocations: 62.55 kB / 0.5749 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.607e-05/0.702, allocations: 74.47 kB / 0.575 GB, free: 42 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.7022, allocations: 134.3 kB / 0.5751 GB, free: 41.93 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7022, allocations: 0 / 0.5751 GB, free: 41.93 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.385e-06/0.7022, allocations: 4 kB / 0.5751 GB, free: 41.93 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.7022, allocations: 3.938 kB / 0.5751 GB, free: 41.93 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.0006938/0.7029, allocations: 478.1 kB / 0.5756 GB, free: 41.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.7029, allocations: 16.55 kB / 0.5756 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.703, allocations: 16.5 kB / 0.5756 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.7032, allocations: 218.7 kB / 0.5758 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.7032, allocations: 12.95 kB / 0.5758 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.7033, allocations: 18.09 kB / 0.5759 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.7036, allocations: 180.7 kB / 0.576 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7036, allocations: 1.438 kB / 0.576 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.7037, allocations: 4 kB / 0.576 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.7037, allocations: 2.938 kB / 0.576 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.704, allocations: 140.5 kB / 0.5762 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.7043, allocations: 289 kB / 0.5764 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.7054, allocations: 358.1 kB / 0.5768 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.7056, allocations: 120.7 kB / 0.5769 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.7057, allocations: 95 kB / 0.577 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.7058, allocations: 31.97 kB / 0.577 GB, free: 40.41 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.243e-06/0.7058, allocations: 0 / 0.577 GB, free: 40.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.00068/0.7065, allocations: 385.5 kB / 0.5774 GB, free: 40.23 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.7065, allocations: 55.16 kB / 0.5774 GB, free: 40.17 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.7066, allocations: 135 kB / 0.5776 GB, free: 40.05 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.7066, allocations: 31.64 kB / 0.5776 GB, free: 40.01 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.7067, allocations: 94.64 kB / 0.5777 GB, free: 39.92 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.7067, allocations: 107.4 kB / 0.5778 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.7068, allocations: 60.5 kB / 0.5779 GB, free: 39.78 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.7069, allocations: 335.8 kB / 0.5782 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.7071, allocations: 123.7 kB / 0.5783 GB, free: 39.39 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.7073, allocations: 128.2 kB / 0.5784 GB, free: 39.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.7077, allocations: 279.4 kB / 0.5787 GB, free: 39.21 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7077, allocations: 1.375 kB / 0.5787 GB, free: 39.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005681/0.7083, allocations: 355 kB / 0.579 GB, free: 39.04 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.7083, allocations: 8.438 kB / 0.579 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7083, allocations: 0 / 0.579 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.7083, allocations: 1.094 kB / 0.579 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.7087, allocations: 79.58 kB / 0.5791 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.7087, allocations: 8.844 kB / 0.5791 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.7088, allocations: 24.31 kB / 0.5791 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.7088, allocations: 7.375 kB / 0.5791 GB, free: 38.99 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.0001128/0.7089, allocations: 140.8 kB / 0.5793 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.709, allocations: 16.22 kB / 0.5793 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000664/0.7096, allocations: 405.9 kB / 0.5797 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.7097, allocations: 3.688 kB / 0.5797 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7097, allocations: 4.875 kB / 0.5797 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.7097, allocations: 3.984 kB / 0.5797 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.71, allocations: 310 kB / 0.58 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.71, allocations: 4 kB / 0.58 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.7105, allocations: 87.8 kB / 0.5801 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7105, allocations: 1.375 kB / 0.5801 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.7105, allocations: 13.95 kB / 0.5801 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.7105, allocations: 1.406 kB / 0.5801 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7105, allocations: 0 / 0.5801 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/0.7114, allocations: 0.5206 MB / 0.5806 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.7116, allocations: 124.1 kB / 0.5807 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.7116, allocations: 15.2 kB / 0.5807 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.7117, allocations: 14.22 kB / 0.5807 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.7118, allocations: 22.48 kB / 0.5808 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.7118, allocations: 11.59 kB / 0.5808 GB, free: 37.86 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.082e-05/0.7119, allocations: 98.39 kB / 0.5809 GB, free: 37.78 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7119, allocations: 0 / 0.5809 GB, free: 37.78 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003577/0.7123, allocations: 72.84 kB / 0.5809 GB, free: 37.76 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.000217/0.7125, allocations: 119.9 kB / 0.5811 GB, free: 37.66 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006543/0.7131, allocations: 312.7 kB / 0.5814 GB, free: 37.53 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7132, allocations: 3.938 kB / 0.5814 GB, free: 37.53 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.7135, allocations: 166 kB / 0.5815 GB, free: 37.46 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.7138, allocations: 42.61 kB / 0.5816 GB, free: 37.44 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.7154, allocations: 0.8323 MB / 0.5824 GB, free: 36.85 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.7156, allocations: 0.7589 MB / 0.5831 GB, free: 36.11 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002138/0.7159, allocations: 96.11 kB / 0.5832 GB, free: 36.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.402e-05/0.716, allocations: 29.09 kB / 0.5832 GB, free: 36.06 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.716, allocations: 5.25 kB / 0.5832 GB, free: 36.05 MB / 462.3 MB Notification: Performance of Templates: time 0.006494/0.7225, allocations: 2.954 MB / 0.5861 GB, free: 34.61 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches