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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 247 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8008/0.8008, allocations: 119.3 MB / 418.5 MB, free: 11.99 MB / 350.1 MB " [Timeout remaining time 179] 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=21600,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=21600,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 68.08 kB / 0.5815 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.501, allocations: 80.7 MB / 0.6603 GB, free: 13.88 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001839/0.5028, allocations: 1.393 MB / 0.6617 GB, free: 12.77 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.5036, allocations: 0.511 MB / 0.6622 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.5036, allocations: 3.938 kB / 0.6622 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.442e-05/0.5037, allocations: 8.828 kB / 0.6622 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.5039, allocations: 50.48 kB / 0.6623 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 9.958e-05/0.5041, allocations: 46.03 kB / 0.6623 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.5043, allocations: 199.7 kB / 0.6625 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.5043, allocations: 7.859 kB / 0.6625 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.5044, allocations: 72.47 kB / 0.6626 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.5046, allocations: 96.3 kB / 0.6627 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.5047, allocations: 8.281 kB / 0.6627 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.533e-05/0.5048, allocations: 38.42 kB / 0.6627 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.5049, allocations: 66.61 kB / 0.6628 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.144e-05/0.505, allocations: 70.39 kB / 0.6628 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.5051, allocations: 143.7 kB / 0.663 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.5051, allocations: 0 / 0.663 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5052, allocations: 0 / 0.663 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5052, allocations: 0.9062 kB / 0.663 GB, free: 11.91 MB / 0.4983 GB 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.000669/0.5058, allocations: 482.4 kB / 0.6634 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.5059, allocations: 13.08 kB / 0.6634 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.5059, allocations: 12.27 kB / 0.6635 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.5061, allocations: 217 kB / 0.6637 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5061, allocations: 8.859 kB / 0.6637 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.5062, allocations: 17.22 kB / 0.6637 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.5064, allocations: 173.6 kB / 0.6639 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.5065, allocations: 4 kB / 0.6639 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.5065, allocations: 5.562 kB / 0.6639 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5065, allocations: 2.844 kB / 0.6639 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.5067, allocations: 156.5 kB / 0.664 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.507, allocations: 284.5 kB / 0.6643 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.5078, allocations: 363.9 kB / 0.6646 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.508, allocations: 119.9 kB / 0.6648 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.5082, allocations: 88.66 kB / 0.6648 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.5082, allocations: 35.81 kB / 0.6649 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/0.5082, allocations: 0 / 0.6649 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0005865/0.5088, allocations: 377.4 kB / 0.6652 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.5088, allocations: 57.91 kB / 0.6653 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.5089, allocations: 132.5 kB / 0.6654 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.5089, allocations: 30.98 kB / 0.6654 GB, free: 10 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.5089, allocations: 91.2 kB / 0.6655 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.509, allocations: 120.9 kB / 0.6656 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.5091, allocations: 63.27 kB / 0.6657 GB, free: 9.758 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.5092, allocations: 331.8 kB / 0.666 GB, free: 9.43 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.5093, allocations: 120.8 kB / 0.6661 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.5095, allocations: 130.6 kB / 0.6663 GB, free: 9.32 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.5099, allocations: 276.7 kB / 0.6665 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5099, allocations: 0 / 0.6665 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004549/0.5103, allocations: 352.8 kB / 0.6669 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.5104, allocations: 5.031 kB / 0.6669 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5104, allocations: 0 / 0.6669 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5104, allocations: 1.25 kB / 0.6669 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.5107, allocations: 79.23 kB / 0.6669 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5107, allocations: 9.094 kB / 0.6669 GB, free: 9 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.5108, allocations: 20.91 kB / 0.667 GB, free: 8.984 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.5108, allocations: 15.59 kB / 0.667 GB, free: 8.977 MB / 0.4983 GB 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.799e-05/0.5109, allocations: 137 kB / 0.6671 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.5109, allocations: 15.5 kB / 0.6671 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005928/0.5115, allocations: 405.3 kB / 0.6675 GB, free: 8.605 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5116, allocations: 4.531 kB / 0.6675 GB, free: 8.605 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5116, allocations: 0 / 0.6675 GB, free: 8.605 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5116, allocations: 5.078 kB / 0.6675 GB, free: 8.602 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.5118, allocations: 309.8 kB / 0.6678 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5118, allocations: 4 kB / 0.6678 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.5122, allocations: 79.19 kB / 0.6679 GB, free: 8.305 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5122, allocations: 2.188 kB / 0.6679 GB, free: 8.305 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.5123, allocations: 17.55 kB / 0.6679 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5123, allocations: 1.125 kB / 0.6679 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5123, allocations: 1.062 kB / 0.6679 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/0.513, allocations: 0.5337 MB / 0.6684 GB, free: 8.008 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.5131, allocations: 125 kB / 0.6686 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.5131, allocations: 16 kB / 0.6686 GB, free: 7.875 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5132, allocations: 10.23 kB / 0.6686 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.5133, allocations: 23.25 kB / 0.6686 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.5133, allocations: 7.312 kB / 0.6686 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.5133, allocations: 108.2 kB / 0.6687 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.5133, allocations: 4 kB / 0.6687 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002645/0.5136, allocations: 69.05 kB / 0.6688 GB, free: 7.75 MB / 0.4983 GB 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.0001268/0.5137, allocations: 112.5 kB / 0.6689 GB, free: 7.652 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000443/0.5142, allocations: 311.5 kB / 0.6692 GB, free: 7.527 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5142, allocations: 5.094 kB / 0.6692 GB, free: 7.523 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.5144, allocations: 168.9 kB / 0.6694 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.5147, allocations: 34.16 kB / 0.6694 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.5158, allocations: 0.8893 MB / 0.6703 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.5159, allocations: 0.7486 MB / 0.671 GB, free: 6.062 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.516, allocations: 30.92 kB / 0.671 GB, free: 6.051 MB / 0.4983 GB Notification: Performance of SimCode: time 2.6e-07/0.516, allocations: 0 / 0.671 GB, free: 6.051 MB / 0.4983 GB Notification: Performance of Templates: time 0.004455/0.5205, allocations: 2.994 MB / 0.6739 GB, free: 4.496 MB / 0.4983 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (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 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 9.414870323846117]