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.001416/0.001416, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001077/0.001077, allocations: 159.3 kB / 24.98 MB, free: 9.324 MB / 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 0.9384/0.9384, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.6135/0.6135, allocations: 88.08 MB / 349.9 MB, free: 14.29 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.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",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.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.638e-05/3.913e-05, allocations: 4.609 kB / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.00291/0.002949, allocations: 1.413 MB / 454.7 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003981, allocations: 0.5416 MB / 455.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.004055, allocations: 0 / 455.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.99e-05/0.004155, allocations: 13.36 kB / 455.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.00453, allocations: 50.59 kB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.004689, allocations: 44.44 kB / 455.3 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.004907, allocations: 203.7 kB / 455.5 MB, free: 30.96 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.004959, allocations: 14.03 kB / 455.5 MB, free: 30.96 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.005184, allocations: 108.6 kB / 455.6 MB, free: 30.92 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.005383, allocations: 90.64 kB / 455.7 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.005416, allocations: 8.469 kB / 455.7 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.005542, allocations: 30.62 kB / 455.8 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.005655, allocations: 77.72 kB / 455.8 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.005725, allocations: 52.09 kB / 455.9 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.005977, allocations: 159.3 kB / 456 MB, free: 30.8 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.005982, allocations: 4 kB / 456 MB, free: 30.79 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005983, allocations: 0 / 456 MB, free: 30.79 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.005992, allocations: 0 / 456 MB, free: 30.79 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.0006981/0.00669, allocations: 0.4967 MB / 456.5 MB, free: 30.36 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.006734, allocations: 15.25 kB / 456.6 MB, free: 30.36 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.442e-05/0.006818, allocations: 26.62 kB / 456.6 MB, free: 30.35 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.00701, allocations: 149.5 kB / 456.7 MB, free: 30.2 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.007027, allocations: 13.36 kB / 456.7 MB, free: 30.2 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.007071, allocations: 20.7 kB / 456.8 MB, free: 30.19 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.007302, allocations: 121.8 kB / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.007312, allocations: 0 / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.007334, allocations: 4 kB / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.007344, allocations: 2.875 kB / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.007516, allocations: 71.91 kB / 457 MB, free: 30.13 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.007762, allocations: 194 kB / 457.1 MB, free: 29.94 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000757/0.008519, allocations: 265.2 kB / 457.4 MB, free: 29.86 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.008638, allocations: 62.22 kB / 457.5 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.008764, allocations: 9.031 kB / 457.5 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.008788, allocations: 47.53 kB / 457.5 MB, free: 29.79 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 1.853e-06/0.00879, allocations: 3.938 kB / 457.5 MB, free: 29.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0004867/0.009277, allocations: 240.2 kB / 457.8 MB, free: 29.71 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.009312, allocations: 61.12 kB / 457.8 MB, free: 29.64 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.009401, allocations: 194.7 kB / 458 MB, free: 29.47 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.00942, allocations: 29.7 kB / 458 MB, free: 29.43 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.00946, allocations: 138.2 kB / 458.2 MB, free: 29.3 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.552e-05/0.009546, allocations: 119.4 kB / 458.3 MB, free: 29.2 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.00963, allocations: 69.84 kB / 458.4 MB, free: 29.15 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.009691, allocations: 0.5032 MB / 458.9 MB, free: 28.65 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.009802, allocations: 53.56 kB / 458.9 MB, free: 28.64 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.009907, allocations: 57.48 kB / 459 MB, free: 28.64 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.01015, allocations: 148.4 kB / 459.1 MB, free: 28.58 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01015, allocations: 0 / 459.1 MB, free: 28.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004243/0.01058, allocations: 244.4 kB / 459.3 MB, free: 28.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.0106, allocations: 6.875 kB / 459.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.0106, allocations: 2.938 kB / 459.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.01062, allocations: 0 / 459.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.01082, allocations: 78.69 kB / 459.4 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01082, allocations: 0 / 459.4 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.01089, allocations: 17.73 kB / 459.5 MB, free: 28.46 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.0109, allocations: 9.781 kB / 459.5 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 7.423e-05/0.01098, allocations: 167.3 kB / 459.6 MB, free: 28.29 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.01101, allocations: 30.88 kB / 459.7 MB, free: 28.27 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.01139, allocations: 299.5 kB / 459.9 MB, free: 28.15 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.01139, allocations: 5.969 kB / 460 MB, free: 28.15 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01139, allocations: 0 / 460 MB, free: 28.15 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.0114, allocations: 0 / 460 MB, free: 28.15 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.01155, allocations: 213.9 kB / 460.2 MB, free: 27.96 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01155, allocations: 0 / 460.2 MB, free: 27.96 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.01178, allocations: 86.81 kB / 460.2 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01179, allocations: 4 kB / 460.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.01181, allocations: 17.28 kB / 460.3 MB, free: 27.94 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01182, allocations: 2.906 kB / 460.3 MB, free: 27.94 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01182, allocations: 0 / 460.3 MB, free: 27.94 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.0122, allocations: 379.3 kB / 460.6 MB, free: 27.78 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.01227, allocations: 45.05 kB / 460.7 MB, free: 27.76 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.0123, allocations: 13.22 kB / 460.7 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.229e-05/0.01235, allocations: 8 kB / 460.7 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.01239, allocations: 24.06 kB / 460.7 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.0124, allocations: 24.34 kB / 460.8 MB, free: 27.73 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.2e-05/0.01243, allocations: 143.9 kB / 460.9 MB, free: 27.61 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01243, allocations: 3.938 kB / 460.9 MB, free: 27.61 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001917/0.01262, allocations: 74.75 kB / 461 MB, free: 27.59 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.0001352/0.01276, allocations: 111.2 kB / 461.1 MB, free: 27.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.01299, allocations: 195.6 kB / 461.3 MB, free: 27.45 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.013, allocations: 0 / 461.3 MB, free: 27.45 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.0131, allocations: 120.9 kB / 461.4 MB, free: 27.42 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.0133, allocations: 35.75 kB / 461.4 MB, free: 27.4 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008648/0.01416, allocations: 0.6425 MB / 462.1 MB, free: 26.97 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.0142, allocations: 94.62 kB / 462.2 MB, free: 26.9 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.01431, allocations: 73.78 kB / 462.2 MB, free: 26.89 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.01437, allocations: 33.36 kB / 462.3 MB, free: 26.88 MB / 410.8 MB Notification: Performance of SimCode: time 8.21e-07/0.01438, allocations: 2.938 kB / 462.3 MB, free: 26.88 MB / 410.8 MB Notification: Performance of Templates: time 0.005405/0.01978, allocations: 3.074 MB / 465.3 MB, free: 26.52 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.140105334110558]