Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.002422/0.002422, 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.002777/0.002777, allocations: 169.3 kB / 24.28 MB, free: 152 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.556/1.556, 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.9458/0.9458, allocations: 88.08 MB / 349.2 MB, free: 14.28 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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 452.5 MB, free: 31.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.78e-05, allocations: 3.188 kB / 452.5 MB, free: 31.88 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001896/0.001924, allocations: 1.404 MB / 453.9 MB, free: 30.91 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007475/0.002671, allocations: 0.5435 MB / 454.5 MB, free: 30.56 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.002713, allocations: 0 / 454.5 MB, free: 30.56 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.746e-05/0.00279, allocations: 9.859 kB / 454.5 MB, free: 30.56 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.003074, allocations: 54.36 kB / 454.5 MB, free: 30.54 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.866e-05/0.003172, allocations: 45.45 kB / 454.6 MB, free: 30.51 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.003398, allocations: 326.7 kB / 454.9 MB, free: 30.41 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.003433, allocations: 13.72 kB / 454.9 MB, free: 30.41 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.003649, allocations: 162.1 kB / 455.1 MB, free: 30.35 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.003865, allocations: 148.3 kB / 455.2 MB, free: 30.32 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.003915, allocations: 18.53 kB / 455.2 MB, free: 30.31 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.004042, allocations: 39.34 kB / 455.3 MB, free: 30.31 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.004175, allocations: 126.7 kB / 455.4 MB, free: 30.26 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.004284, allocations: 104.5 kB / 455.5 MB, free: 30.22 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.00455, allocations: 266.7 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.004554, allocations: 4 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004555, allocations: 2.938 kB / 455.7 MB, free: 30.15 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.00456, allocations: 0 / 455.7 MB, free: 30.15 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009293/0.00549, allocations: 0.6102 MB / 456.4 MB, free: 29.68 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.00552, allocations: 8.812 kB / 456.4 MB, free: 29.68 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.559e-05/0.005616, allocations: 43.58 kB / 456.4 MB, free: 29.66 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.005871, allocations: 194.7 kB / 456.6 MB, free: 29.5 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.005887, allocations: 17.16 kB / 456.6 MB, free: 29.49 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.005951, allocations: 34.06 kB / 456.7 MB, free: 29.48 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.006282, allocations: 218 kB / 456.9 MB, free: 29.4 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.006294, allocations: 0 / 456.9 MB, free: 29.4 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.006321, allocations: 4 kB / 456.9 MB, free: 29.4 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.006327, allocations: 5.719 kB / 456.9 MB, free: 29.4 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.006625, allocations: 167.3 kB / 457 MB, free: 29.38 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.006947, allocations: 248.6 kB / 457.3 MB, free: 29.17 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.00837, allocations: 0.4973 MB / 457.8 MB, free: 29.04 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.008571, allocations: 116.9 kB / 457.9 MB, free: 29 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.008707, allocations: 29.41 kB / 457.9 MB, free: 28.99 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.008724, allocations: 40.58 kB / 458 MB, free: 28.95 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 1.543e-06/0.008725, allocations: 0 / 458 MB, free: 28.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.0008093/0.009535, allocations: 468.4 kB / 458.4 MB, free: 28.81 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.009558, allocations: 57.66 kB / 458.5 MB, free: 28.75 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.009646, allocations: 203.8 kB / 458.7 MB, free: 28.57 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.009671, allocations: 36.55 kB / 458.7 MB, free: 28.53 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.009705, allocations: 150.2 kB / 458.9 MB, free: 28.39 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.00982, allocations: 226 kB / 459.1 MB, free: 28.21 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.009955, allocations: 116.5 kB / 459.2 MB, free: 28.14 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.01003, allocations: 0.5203 MB / 459.7 MB, free: 27.63 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.01024, allocations: 115.9 kB / 459.8 MB, free: 27.61 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.01044, allocations: 114.6 kB / 459.9 MB, free: 27.59 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.0109, allocations: 305.5 kB / 460.2 MB, free: 27.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.0109, allocations: 0 / 460.2 MB, free: 27.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00062/0.01152, allocations: 432.4 kB / 460.7 MB, free: 27.36 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01153, allocations: 11.94 kB / 460.7 MB, free: 27.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01154, allocations: 0 / 460.7 MB, free: 27.36 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01156, allocations: 2.562 kB / 460.7 MB, free: 27.36 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.01209, allocations: 139.5 kB / 460.8 MB, free: 27.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.0121, allocations: 6.438 kB / 460.8 MB, free: 27.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.0123, allocations: 40.2 kB / 460.9 MB, free: 27.31 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.01233, allocations: 20.78 kB / 460.9 MB, free: 27.3 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 (74): * Single equations (assignments): 74 * 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 9.756e-05/0.01243, allocations: 186.3 kB / 461.1 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.0125, allocations: 46.25 kB / 461.1 MB, free: 27.09 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009127/0.01341, allocations: 0.5401 MB / 461.6 MB, free: 26.89 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.01342, allocations: 16.53 kB / 461.7 MB, free: 26.89 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01342, allocations: 0 / 461.7 MB, free: 26.89 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.01343, allocations: 3.234 kB / 461.7 MB, free: 26.89 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.01374, allocations: 306.2 kB / 462 MB, free: 26.64 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01374, allocations: 0 / 462 MB, free: 26.64 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000711/0.01446, allocations: 154.9 kB / 462.1 MB, free: 26.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01446, allocations: 5.062 kB / 462.1 MB, free: 26.63 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.01451, allocations: 22.88 kB / 462.1 MB, free: 26.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.01451, allocations: 6.594 kB / 462.1 MB, free: 26.62 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01451, allocations: 3.938 kB / 462.1 MB, free: 26.62 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009469/0.01546, allocations: 0.7126 MB / 462.9 MB, free: 26.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.01565, allocations: 93.77 kB / 462.9 MB, free: 26.32 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.01572, allocations: 19.88 kB / 463 MB, free: 26.31 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.01592, allocations: 10.91 kB / 463 MB, free: 26.3 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.016, allocations: 53.36 kB / 463 MB, free: 26.29 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.01603, allocations: 21.86 kB / 463.1 MB, free: 26.29 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.025e-05/0.01608, allocations: 149 kB / 463.2 MB, free: 26.16 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01608, allocations: 2.938 kB / 463.2 MB, free: 26.16 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003252/0.01641, allocations: 117.8 kB / 463.3 MB, free: 26.14 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001783/0.01658, allocations: 136.2 kB / 463.4 MB, free: 26.03 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006126/0.0172, allocations: 386.1 kB / 463.8 MB, free: 25.96 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0172, allocations: 0 / 463.8 MB, free: 25.96 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.01749, allocations: 249.5 kB / 464.1 MB, free: 25.89 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.01781, allocations: 58.39 kB / 464.1 MB, free: 25.86 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.01922, allocations: 1.091 MB / 465.2 MB, free: 25.18 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.01934, allocations: 194.3 kB / 465.4 MB, free: 25.1 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.01964, allocations: 143.3 kB / 465.5 MB, free: 25.07 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.01979, allocations: 54.75 kB / 465.6 MB, free: 25.05 MB / 410.8 MB Notification: Performance of SimCode: time 5.51e-07/0.01979, allocations: 0 / 465.6 MB, free: 25.05 MB / 410.8 MB Notification: Performance of Templates: time 0.009078/0.02886, allocations: 5.357 MB / 471 MB, free: 24.46 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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: 7.361422231071629]