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.0009634/0.0009634, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009479/0.0009479, allocations: 161.4 kB / 24.56 MB, free: 20 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 0.9637/0.9637, allocations: 177.2 MB / 205 MB, free: 5.273 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.7267/0.7267, allocations: 88.08 MB / 349.6 MB, free: 14.15 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 9.92e-07/9.92e-07, allocations: 0 / 453.3 MB, free: 32.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.117e-05, allocations: 3.078 kB / 453.3 MB, free: 32.29 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001335/0.001347, allocations: 1.427 MB / 454.7 MB, free: 31.32 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005463/0.001893, allocations: 0.5359 MB / 455.3 MB, free: 30.99 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.001919, allocations: 0 / 455.3 MB, free: 30.99 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.001973, allocations: 14.16 kB / 455.3 MB, free: 30.98 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.002176, allocations: 62.78 kB / 455.3 MB, free: 30.95 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.441e-05/0.00225, allocations: 41.88 kB / 455.4 MB, free: 30.93 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.002376, allocations: 206 kB / 455.6 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.363e-05/0.0024, allocations: 6.906 kB / 455.6 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.002534, allocations: 103.4 kB / 455.7 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.002652, allocations: 97.59 kB / 455.8 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.002673, allocations: 8.219 kB / 455.8 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/0.00274, allocations: 31.94 kB / 455.8 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.002812, allocations: 70.98 kB / 455.9 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.00286, allocations: 53.14 kB / 455.9 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.003, allocations: 156.4 kB / 456.1 MB, free: 30.71 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003002, allocations: 3.938 kB / 456.1 MB, free: 30.7 MB / 410.8 MB Notification: Performance of FrontEnd: time 5e-07/0.003003, allocations: 0 / 456.1 MB, free: 30.7 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.003006, allocations: 0 / 456.1 MB, free: 30.7 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.0003844/0.00339, allocations: 0.4966 MB / 456.6 MB, free: 30.27 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.094e-05/0.003411, allocations: 8.719 kB / 456.6 MB, free: 30.27 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.003449, allocations: 24.72 kB / 456.6 MB, free: 30.26 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.003549, allocations: 161.9 kB / 456.8 MB, free: 30.11 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.003557, allocations: 11.52 kB / 456.8 MB, free: 30.1 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.003581, allocations: 20.86 kB / 456.8 MB, free: 30.09 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.003707, allocations: 121.9 kB / 456.9 MB, free: 30.04 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-06/0.003711, allocations: 2.719 kB / 456.9 MB, free: 30.04 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.003723, allocations: 4 kB / 456.9 MB, free: 30.04 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.003728, allocations: 2.656 kB / 456.9 MB, free: 30.04 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.9e-05/0.003827, allocations: 71.33 kB / 457 MB, free: 30.03 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.003958, allocations: 181.7 kB / 457.2 MB, free: 29.86 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.004402, allocations: 263.5 kB / 457.4 MB, free: 29.78 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/0.004477, allocations: 66.7 kB / 457.5 MB, free: 29.75 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-05/0.004563, allocations: 15.95 kB / 457.5 MB, free: 29.75 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.004575, allocations: 40.39 kB / 457.6 MB, free: 29.7 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 9.92e-07/0.004576, allocations: 0 / 457.6 MB, free: 29.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0002934/0.004869, allocations: 248.5 kB / 457.8 MB, free: 29.62 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.35e-05/0.004883, allocations: 56.62 kB / 457.9 MB, free: 29.56 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.00494, allocations: 189.7 kB / 458 MB, free: 29.39 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.004953, allocations: 29.7 kB / 458.1 MB, free: 29.35 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.004981, allocations: 147.9 kB / 458.2 MB, free: 29.21 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.005037, allocations: 123 kB / 458.3 MB, free: 29.11 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.005097, allocations: 68.33 kB / 458.4 MB, free: 29.06 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.005147, allocations: 0.5002 MB / 458.9 MB, free: 28.56 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.005219, allocations: 56.48 kB / 459 MB, free: 28.55 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.005288, allocations: 56.53 kB / 459 MB, free: 28.54 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.00545, allocations: 155.7 kB / 459.2 MB, free: 28.48 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005452, allocations: 0 / 459.2 MB, free: 28.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002258/0.005678, allocations: 239.9 kB / 459.4 MB, free: 28.39 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.005688, allocations: 5.344 kB / 459.4 MB, free: 28.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.005691, allocations: 0 / 459.4 MB, free: 28.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.0057, allocations: 0 / 459.4 MB, free: 28.39 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.005851, allocations: 77.59 kB / 459.5 MB, free: 28.38 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.005854, allocations: 2.719 kB / 459.5 MB, free: 28.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.005901, allocations: 14.52 kB / 459.5 MB, free: 28.37 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.005914, allocations: 15.84 kB / 459.5 MB, free: 28.37 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 4.981e-05/0.005964, allocations: 167.1 kB / 459.7 MB, free: 28.2 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.005989, allocations: 29.19 kB / 459.7 MB, free: 28.18 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.006296, allocations: 302.6 kB / 460 MB, free: 28.06 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.006299, allocations: 2.656 kB / 460 MB, free: 28.06 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.006301, allocations: 3.188 kB / 460 MB, free: 28.06 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.006305, allocations: 0 / 460 MB, free: 28.06 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.00643, allocations: 211.7 kB / 460.2 MB, free: 27.87 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.006431, allocations: 0 / 460.2 MB, free: 27.87 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.006639, allocations: 83.59 kB / 460.3 MB, free: 27.86 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006641, allocations: 2.5 kB / 460.3 MB, free: 27.86 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.006663, allocations: 16.45 kB / 460.3 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006664, allocations: 6.625 kB / 460.3 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-07/0.006665, allocations: 0 / 460.3 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.007015, allocations: 391.8 kB / 460.7 MB, free: 27.68 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.007073, allocations: 37.98 kB / 460.7 MB, free: 27.66 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.007095, allocations: 20.39 kB / 460.8 MB, free: 27.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.00714, allocations: 6.406 kB / 460.8 MB, free: 27.65 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.007168, allocations: 25.17 kB / 460.8 MB, free: 27.64 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.007179, allocations: 11.84 kB / 460.8 MB, free: 27.64 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.667e-05/0.007206, allocations: 143.7 kB / 460.9 MB, free: 27.52 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007206, allocations: 0 / 460.9 MB, free: 27.52 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001677/0.007373, allocations: 75.38 kB / 461 MB, free: 27.5 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 8.43e-05/0.007458, allocations: 117.9 kB / 461.1 MB, free: 27.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.007676, allocations: 195.6 kB / 461.3 MB, free: 27.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.007677, allocations: 0 / 461.3 MB, free: 27.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.007783, allocations: 125.8 kB / 461.4 MB, free: 27.32 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.007945, allocations: 32.27 kB / 461.5 MB, free: 27.31 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.008723, allocations: 0.6393 MB / 462.1 MB, free: 26.88 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.00876, allocations: 95.81 kB / 462.2 MB, free: 26.8 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.008862, allocations: 76.95 kB / 462.3 MB, free: 26.79 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.008925, allocations: 33.09 kB / 462.3 MB, free: 26.79 MB / 410.8 MB Notification: Performance of SimCode: time 4.61e-07/0.008925, allocations: 0 / 462.3 MB, free: 26.79 MB / 410.8 MB Notification: Performance of Templates: time 0.004033/0.01296, allocations: 3.08 MB / 465.4 MB, free: 26.42 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.493448147084564]