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.001223/0.001223, allocations: 114.4 kB / 17.69 MB, free: 5.297 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.001201/0.001201, allocations: 191 kB / 18.63 MB, free: 4.363 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.238/1.238, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8268/0.8268, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 63.91 kB / 0.4937 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4054, allocations: 80.68 MB / 0.5725 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001937/0.4074, allocations: 1.389 MB / 0.5739 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006301/0.408, allocations: 0.5128 MB / 0.5744 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.4081, allocations: 1.562 kB / 0.5744 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.651e-05/0.4081, allocations: 7.938 kB / 0.5744 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.4084, allocations: 54.38 kB / 0.5744 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.229e-05/0.4085, allocations: 38.11 kB / 0.5745 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.4087, allocations: 203.7 kB / 0.5747 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.4087, allocations: 4.562 kB / 0.5747 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.4e-05/0.4088, allocations: 71.53 kB / 0.5747 GB, free: 42.17 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.409, allocations: 95.83 kB / 0.5748 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.409, allocations: 8.25 kB / 0.5748 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.4091, allocations: 39.41 kB / 0.5749 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.4092, allocations: 67.03 kB / 0.5749 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.393e-05/0.4093, allocations: 73.64 kB / 0.575 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.4094, allocations: 133.7 kB / 0.5751 GB, free: 41.94 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4094, allocations: 1.25 kB / 0.5751 GB, free: 41.94 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4094, allocations: 0 / 0.5751 GB, free: 41.94 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.4094, allocations: 0 / 0.5751 GB, free: 41.94 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.0006164/0.4101, allocations: 485.6 kB / 0.5756 GB, free: 41.49 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.4101, allocations: 12.7 kB / 0.5756 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.4102, allocations: 16.69 kB / 0.5756 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.4103, allocations: 208.6 kB / 0.5758 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.4103, allocations: 16.73 kB / 0.5759 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.4104, allocations: 24.86 kB / 0.5759 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.4106, allocations: 169.9 kB / 0.576 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4107, allocations: 3.984 kB / 0.576 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.4107, allocations: 5.094 kB / 0.576 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4107, allocations: 3.156 kB / 0.576 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.4109, allocations: 152.6 kB / 0.5762 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.4112, allocations: 280.7 kB / 0.5765 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.412, allocations: 366.5 kB / 0.5768 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.4121, allocations: 114.9 kB / 0.5769 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.4123, allocations: 88.19 kB / 0.577 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.4123, allocations: 45.16 kB / 0.577 GB, free: 40.42 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.293e-06/0.4123, allocations: 0 / 0.577 GB, free: 40.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005301/0.4128, allocations: 380.4 kB / 0.5774 GB, free: 40.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/0.4129, allocations: 58.09 kB / 0.5775 GB, free: 40.17 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.4129, allocations: 131.7 kB / 0.5776 GB, free: 40.05 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.413, allocations: 31.08 kB / 0.5776 GB, free: 40.02 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.302e-05/0.413, allocations: 95.44 kB / 0.5777 GB, free: 39.92 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.4131, allocations: 108.2 kB / 0.5778 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/0.4131, allocations: 63.73 kB / 0.5779 GB, free: 39.78 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.4132, allocations: 336 kB / 0.5782 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.4134, allocations: 119.9 kB / 0.5783 GB, free: 39.39 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.4135, allocations: 130.7 kB / 0.5784 GB, free: 39.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.4139, allocations: 281.5 kB / 0.5787 GB, free: 39.21 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4139, allocations: 0 / 0.5787 GB, free: 39.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004294/0.4143, allocations: 348 kB / 0.579 GB, free: 39.04 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4143, allocations: 8.469 kB / 0.579 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4143, allocations: 3.938 kB / 0.579 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4144, allocations: 5.359 kB / 0.5791 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.4146, allocations: 79.03 kB / 0.5791 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.4147, allocations: 1.375 kB / 0.5791 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.4148, allocations: 23.81 kB / 0.5792 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.4148, allocations: 12.25 kB / 0.5792 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 7.601e-05/0.4149, allocations: 136.7 kB / 0.5793 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4149, allocations: 15.67 kB / 0.5793 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.4155, allocations: 406 kB / 0.5797 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4155, allocations: 3.688 kB / 0.5797 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4155, allocations: 0 / 0.5797 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4155, allocations: 4.922 kB / 0.5797 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.4158, allocations: 318 kB / 0.58 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4158, allocations: 0 / 0.58 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.4162, allocations: 79 kB / 0.5801 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4162, allocations: 1.844 kB / 0.5801 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.4162, allocations: 21.52 kB / 0.5801 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.4162, allocations: 1.844 kB / 0.5801 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4163, allocations: 0.9062 kB / 0.5801 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.4169, allocations: 0.5223 MB / 0.5806 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.589e-05/0.417, allocations: 121.9 kB / 0.5807 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.417, allocations: 15.8 kB / 0.5808 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4172, allocations: 4 kB / 0.5808 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.4172, allocations: 24.7 kB / 0.5808 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.4172, allocations: 15.5 kB / 0.5808 GB, free: 37.87 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.978e-05/0.4173, allocations: 105.2 kB / 0.5809 GB, free: 37.78 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4173, allocations: 3.938 kB / 0.5809 GB, free: 37.78 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002459/0.4175, allocations: 68.81 kB / 0.581 GB, free: 37.77 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.0001126/0.4177, allocations: 113.2 kB / 0.5811 GB, free: 37.67 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.4181, allocations: 308.6 kB / 0.5814 GB, free: 37.55 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4181, allocations: 0 / 0.5814 GB, free: 37.55 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.4183, allocations: 174 kB / 0.5815 GB, free: 37.48 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.4185, allocations: 35.3 kB / 0.5816 GB, free: 37.45 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009983/0.4195, allocations: 0.8482 MB / 0.5824 GB, free: 36.85 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.4197, allocations: 0.752 MB / 0.5831 GB, free: 36.12 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.4198, allocations: 90.91 kB / 0.5832 GB, free: 36.08 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.4199, allocations: 30.02 kB / 0.5832 GB, free: 36.07 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.4199, allocations: 0 / 0.5832 GB, free: 36.07 MB / 462.3 MB Notification: Performance of Templates: time 0.005455/0.4254, allocations: 2.968 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 gbode -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