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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 165.3 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9092/0.9092, allocations: 88.08 MB / 349.2 MB, free: 14.25 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.824e-06/1.824e-06, allocations: 0 / 452.5 MB, free: 32.07 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.82e-05, allocations: 9.312 kB / 452.5 MB, free: 32.06 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001995/0.002023, allocations: 1.398 MB / 453.9 MB, free: 31.1 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.002821, allocations: 0.5373 MB / 454.5 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.002865, allocations: 2.906 kB / 454.5 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.251e-05/0.002948, allocations: 7.219 kB / 454.5 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.003252, allocations: 62.81 kB / 454.5 MB, free: 30.72 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.859e-05/0.003351, allocations: 40.91 kB / 454.6 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.003535, allocations: 201.4 kB / 454.8 MB, free: 30.64 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.003572, allocations: 7.031 kB / 454.8 MB, free: 30.63 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.003767, allocations: 114.9 kB / 454.9 MB, free: 30.59 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.003927, allocations: 90.81 kB / 455 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.003962, allocations: 5.812 kB / 455 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.004064, allocations: 33.69 kB / 455 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.004157, allocations: 73.94 kB / 455.1 MB, free: 30.54 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.808e-05/0.004225, allocations: 54.22 kB / 455.1 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.00442, allocations: 159 kB / 455.3 MB, free: 30.47 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.004423, allocations: 0 / 455.3 MB, free: 30.47 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004424, allocations: 0 / 455.3 MB, free: 30.47 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.00443, allocations: 0 / 455.3 MB, free: 30.47 MB / 410.8 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.0007248/0.005154, allocations: 0.5008 MB / 455.8 MB, free: 30.04 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.00519, allocations: 8.812 kB / 455.8 MB, free: 30.04 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.005263, allocations: 20.75 kB / 455.8 MB, free: 30.03 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.005458, allocations: 159.3 kB / 456 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.005471, allocations: 7.797 kB / 456 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.00551, allocations: 24.92 kB / 456 MB, free: 29.86 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.005737, allocations: 122.9 kB / 456.1 MB, free: 29.82 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.005748, allocations: 7.984 kB / 456.1 MB, free: 29.81 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.005768, allocations: 6.625 kB / 456.1 MB, free: 29.8 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.005773, allocations: 2.625 kB / 456.1 MB, free: 29.8 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.005944, allocations: 86 kB / 456.2 MB, free: 29.79 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.006166, allocations: 188.9 kB / 456.4 MB, free: 29.61 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.007008, allocations: 257.6 kB / 456.7 MB, free: 29.54 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.007123, allocations: 65.95 kB / 456.7 MB, free: 29.52 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.007249, allocations: 18.69 kB / 456.7 MB, free: 29.51 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.007265, allocations: 41.33 kB / 456.8 MB, free: 29.46 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 1.202e-06/0.007266, allocations: 0 / 456.8 MB, free: 29.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0004854/0.007751, allocations: 259.2 kB / 457 MB, free: 29.38 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.007774, allocations: 58.19 kB / 457.1 MB, free: 29.31 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.007854, allocations: 195.8 kB / 457.3 MB, free: 29.14 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.007871, allocations: 32.52 kB / 457.3 MB, free: 29.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.007904, allocations: 141.6 kB / 457.5 MB, free: 28.96 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.007978, allocations: 115.4 kB / 457.6 MB, free: 28.88 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.008062, allocations: 70.08 kB / 457.6 MB, free: 28.82 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.008142, allocations: 0.503 MB / 458.1 MB, free: 28.32 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.008259, allocations: 59.61 kB / 458.2 MB, free: 28.31 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.008368, allocations: 64.62 kB / 458.3 MB, free: 28.3 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.008622, allocations: 157.2 kB / 458.4 MB, free: 28.25 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.008624, allocations: 0 / 458.4 MB, free: 28.25 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003449/0.008969, allocations: 257.2 kB / 458.7 MB, free: 28.14 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.008982, allocations: 6.25 kB / 458.7 MB, free: 28.14 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.008986, allocations: 0 / 458.7 MB, free: 28.14 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.009001, allocations: 2.875 kB / 458.7 MB, free: 28.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.009289, allocations: 79.17 kB / 458.8 MB, free: 28.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.009295, allocations: 2.938 kB / 458.8 MB, free: 28.13 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.009403, allocations: 14.77 kB / 458.8 MB, free: 28.12 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.009424, allocations: 16.34 kB / 458.8 MB, free: 28.11 MB / 410.8 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 8.342e-05/0.009508, allocations: 169.9 kB / 458.9 MB, free: 27.94 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.009549, allocations: 27.34 kB / 459 MB, free: 27.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.01005, allocations: 311.3 kB / 459.3 MB, free: 27.81 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01006, allocations: 2.688 kB / 459.3 MB, free: 27.81 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.01006, allocations: 4 kB / 459.3 MB, free: 27.8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01007, allocations: 2.594 kB / 459.3 MB, free: 27.8 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.01025, allocations: 211.7 kB / 459.5 MB, free: 27.61 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01025, allocations: 0 / 459.5 MB, free: 27.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.01066, allocations: 83.77 kB / 459.6 MB, free: 27.61 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01066, allocations: 2.781 kB / 459.6 MB, free: 27.61 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.01069, allocations: 16.88 kB / 459.6 MB, free: 27.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01069, allocations: 0 / 459.6 MB, free: 27.6 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01069, allocations: 0 / 459.6 MB, free: 27.6 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.01123, allocations: 422.8 kB / 460 MB, free: 27.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.01134, allocations: 46.41 kB / 460.1 MB, free: 27.4 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.01138, allocations: 13.62 kB / 460.1 MB, free: 27.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.0115, allocations: 8 kB / 460.1 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.01155, allocations: 21.91 kB / 460.1 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.01157, allocations: 14.31 kB / 460.1 MB, free: 27.38 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.489e-05/0.01162, allocations: 143 kB / 460.3 MB, free: 27.26 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01162, allocations: 6.562 kB / 460.3 MB, free: 27.25 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002576/0.01187, allocations: 71.62 kB / 460.3 MB, free: 27.24 MB / 410.8 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.000137/0.01201, allocations: 118.5 kB / 460.4 MB, free: 27.14 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.01234, allocations: 204.2 kB / 460.6 MB, free: 27.09 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01235, allocations: 0 / 460.6 MB, free: 27.09 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.01252, allocations: 130.4 kB / 460.8 MB, free: 27.06 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.01276, allocations: 32.12 kB / 460.8 MB, free: 27.04 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.01364, allocations: 0.6473 MB / 461.4 MB, free: 26.61 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.987e-05/0.01372, allocations: 131.8 kB / 461.6 MB, free: 26.53 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.01388, allocations: 77.08 kB / 461.7 MB, free: 26.52 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.01396, allocations: 33.19 kB / 461.7 MB, free: 26.5 MB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.01396, allocations: 4 kB / 461.7 MB, free: 26.5 MB / 410.8 MB Notification: Performance of Templates: time 0.006443/0.02041, allocations: 3.081 MB / 464.8 MB, free: 26.14 MB / 410.8 MB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.547228071955033]