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.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.001446/0.001446, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001531/0.001531, allocations: 161.7 kB / 24.26 MB, free: 176 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.511/1.511, allocations: 177.1 MB / 204.6 MB, free: 5.562 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 1.057/1.057, allocations: 88.07 MB / 349.1 MB, free: 14.2 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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 452.5 MB, free: 32.17 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.985e-05/4.173e-05, allocations: 8.75 kB / 452.5 MB, free: 32.17 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.00214/0.002182, allocations: 1.376 MB / 453.9 MB, free: 31.22 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008195/0.003001, allocations: 0.5128 MB / 454.4 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.003056, allocations: 2.969 kB / 454.4 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.596e-05/0.003152, allocations: 14.34 kB / 454.4 MB, free: 30.88 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.003447, allocations: 59.5 kB / 454.5 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.003555, allocations: 46.62 kB / 454.5 MB, free: 30.83 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.003738, allocations: 196.4 kB / 454.7 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.003776, allocations: 6.156 kB / 454.7 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.003964, allocations: 105.5 kB / 454.8 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.004135, allocations: 95.48 kB / 454.9 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.004166, allocations: 8.562 kB / 454.9 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.444e-05/0.00426, allocations: 35.48 kB / 455 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.004354, allocations: 77.67 kB / 455 MB, free: 30.67 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.004424, allocations: 52.98 kB / 455.1 MB, free: 30.65 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.004603, allocations: 148.7 kB / 455.2 MB, free: 30.61 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004606, allocations: 2.844 kB / 455.2 MB, free: 30.61 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004606, allocations: 0 / 455.2 MB, free: 30.61 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004611, allocations: 0 / 455.2 MB, free: 30.61 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.0006839/0.005295, allocations: 404 kB / 455.6 MB, free: 30.29 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.005329, allocations: 7.375 kB / 455.6 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.00541, allocations: 28.09 kB / 455.7 MB, free: 30.28 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.005592, allocations: 161 kB / 455.8 MB, free: 30.13 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.005608, allocations: 7.516 kB / 455.8 MB, free: 30.12 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.005658, allocations: 22.67 kB / 455.8 MB, free: 30.11 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.005945, allocations: 177 kB / 456 MB, free: 30.05 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.005955, allocations: 4 kB / 456 MB, free: 30.04 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.005976, allocations: 6.812 kB / 456 MB, free: 30.04 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.005982, allocations: 2.875 kB / 456 MB, free: 30.04 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.0062, allocations: 144.2 kB / 456.2 MB, free: 30.01 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.006448, allocations: 208.3 kB / 456.4 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009062/0.007355, allocations: 339.9 kB / 456.7 MB, free: 29.75 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.007515, allocations: 113.4 kB / 456.8 MB, free: 29.72 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.007654, allocations: 19.84 kB / 456.8 MB, free: 29.71 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.007673, allocations: 37.38 kB / 456.9 MB, free: 29.67 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 1.112e-06/0.007674, allocations: 0 / 456.9 MB, free: 29.67 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0006352/0.008309, allocations: 389.9 kB / 457.3 MB, free: 29.54 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.008342, allocations: 57.66 kB / 457.3 MB, free: 29.47 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.00843, allocations: 137.6 kB / 457.4 MB, free: 29.36 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.008447, allocations: 25.7 kB / 457.5 MB, free: 29.33 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.008482, allocations: 94.89 kB / 457.6 MB, free: 29.24 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.008557, allocations: 115.8 kB / 457.7 MB, free: 29.15 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.269e-05/0.00864, allocations: 62.47 kB / 457.7 MB, free: 29.11 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.008714, allocations: 335 kB / 458.1 MB, free: 28.79 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.00889, allocations: 124.6 kB / 458.2 MB, free: 28.75 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.009057, allocations: 129.7 kB / 458.3 MB, free: 28.72 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.009426, allocations: 277.9 kB / 458.6 MB, free: 28.63 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.00943, allocations: 0 / 458.6 MB, free: 28.63 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005139/0.009944, allocations: 375.8 kB / 459 MB, free: 28.49 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.009957, allocations: 5.5 kB / 459 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.009962, allocations: 0 / 459 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.009985, allocations: 2.719 kB / 459 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.01027, allocations: 76.94 kB / 459 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.01028, allocations: 0 / 459 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01038, allocations: 21.02 kB / 459.1 MB, free: 28.46 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.0104, allocations: 15.08 kB / 459.1 MB, free: 28.46 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.412e-05/0.01049, allocations: 137.8 kB / 459.2 MB, free: 28.33 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.01053, allocations: 29.16 kB / 459.2 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.01111, allocations: 391.2 kB / 459.6 MB, free: 28.17 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01112, allocations: 5.219 kB / 459.6 MB, free: 28.17 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.01112, allocations: 4 kB / 459.6 MB, free: 28.17 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.01113, allocations: 3.328 kB / 459.6 MB, free: 28.17 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.01135, allocations: 235.6 kB / 459.9 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01135, allocations: 0 / 459.9 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.01177, allocations: 87.52 kB / 459.9 MB, free: 27.98 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01178, allocations: 3.938 kB / 459.9 MB, free: 27.98 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.01181, allocations: 13.28 kB / 460 MB, free: 27.97 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01181, allocations: 2.938 kB / 460 MB, free: 27.97 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01181, allocations: 3.938 kB / 460 MB, free: 27.97 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.01247, allocations: 0.5327 MB / 460.5 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.01256, allocations: 55.33 kB / 460.6 MB, free: 27.73 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.0126, allocations: 15.03 kB / 460.6 MB, free: 27.72 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.01272, allocations: 10.72 kB / 460.6 MB, free: 27.71 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.01277, allocations: 25.48 kB / 460.6 MB, free: 27.71 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.01279, allocations: 8.656 kB / 460.6 MB, free: 27.71 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.232e-05/0.01283, allocations: 107.5 kB / 460.7 MB, free: 27.63 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01283, allocations: 0 / 460.7 MB, free: 27.63 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002637/0.01309, allocations: 72.12 kB / 460.8 MB, free: 27.61 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.000151/0.01325, allocations: 113.3 kB / 460.9 MB, free: 27.52 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.01365, allocations: 289.1 kB / 461.2 MB, free: 27.45 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01366, allocations: 0 / 461.2 MB, free: 27.45 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.01384, allocations: 161.1 kB / 461.3 MB, free: 27.41 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.0141, allocations: 44.72 kB / 461.4 MB, free: 27.39 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009983/0.0151, allocations: 0.716 MB / 462.1 MB, free: 26.96 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.059e-05/0.01519, allocations: 134.7 kB / 462.2 MB, free: 26.88 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.01536, allocations: 95.78 kB / 462.3 MB, free: 26.87 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.202e-05/0.01545, allocations: 30.22 kB / 462.4 MB, free: 26.86 MB / 410.8 MB Notification: Performance of SimCode: time 4e-07/0.01546, allocations: 0 / 462.4 MB, free: 26.86 MB / 410.8 MB Notification: Performance of Templates: time 0.006429/0.02188, allocations: 3.093 MB / 465.4 MB, free: 26.51 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (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) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_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.63017638400197]