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.001964/0.001964, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002507/0.002507, allocations: 165.3 kB / 24.27 MB, free: 148 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.522/1.522, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.9675/0.9675, allocations: 88.07 MB / 349.1 MB, free: 14.21 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.984e-06/1.984e-06, allocations: 0 / 452.5 MB, free: 32.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.424e-05/3.623e-05, allocations: 5.688 kB / 452.5 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002285/0.002321, allocations: 1.393 MB / 453.9 MB, free: 31.22 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.003255, allocations: 0.5186 MB / 454.4 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.003307, allocations: 0 / 454.4 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.003426, allocations: 7.078 kB / 454.4 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.003772, allocations: 61.67 kB / 454.5 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.003884, allocations: 38.45 kB / 454.5 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.004089, allocations: 206.2 kB / 454.7 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.004137, allocations: 7 kB / 454.7 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.004365, allocations: 107.4 kB / 454.8 MB, free: 30.74 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.004544, allocations: 93.77 kB / 454.9 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.004581, allocations: 8.5 kB / 454.9 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.004687, allocations: 27.7 kB / 455 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.004804, allocations: 77.09 kB / 455 MB, free: 30.68 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.004884, allocations: 55.23 kB / 455.1 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.005103, allocations: 156.5 kB / 455.2 MB, free: 30.62 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.005107, allocations: 0 / 455.2 MB, free: 30.62 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005107, allocations: 0 / 455.2 MB, free: 30.62 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.005113, allocations: 2.812 kB / 455.2 MB, free: 30.62 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.0007606/0.005874, allocations: 402.9 kB / 455.6 MB, free: 30.29 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.005909, allocations: 8.438 kB / 455.6 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.181e-05/0.006, allocations: 27.25 kB / 455.7 MB, free: 30.28 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.006183, allocations: 153.2 kB / 455.8 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.006198, allocations: 7.453 kB / 455.8 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.006246, allocations: 28.06 kB / 455.9 MB, free: 30.12 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.006542, allocations: 175 kB / 456 MB, free: 30.06 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.006551, allocations: 4 kB / 456 MB, free: 30.05 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.006572, allocations: 4 kB / 456 MB, free: 30.05 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.006578, allocations: 2.969 kB / 456 MB, free: 30.05 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.006798, allocations: 145.6 kB / 456.2 MB, free: 30.02 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.00707, allocations: 204.3 kB / 456.4 MB, free: 29.86 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009532/0.008023, allocations: 343.3 kB / 456.7 MB, free: 29.77 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.008182, allocations: 112.9 kB / 456.8 MB, free: 29.73 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.008337, allocations: 12.28 kB / 456.8 MB, free: 29.73 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.008358, allocations: 49.38 kB / 456.9 MB, free: 29.68 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 1.142e-06/0.008359, allocations: 0 / 456.9 MB, free: 29.68 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0006151/0.008974, allocations: 385.5 kB / 457.3 MB, free: 29.55 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.009005, allocations: 57.73 kB / 457.3 MB, free: 29.48 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.009095, allocations: 130.1 kB / 457.4 MB, free: 29.38 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.009114, allocations: 32.45 kB / 457.5 MB, free: 29.34 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.009148, allocations: 94.78 kB / 457.6 MB, free: 29.25 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.009248, allocations: 115.3 kB / 457.7 MB, free: 29.16 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.009334, allocations: 61.27 kB / 457.7 MB, free: 29.12 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.009397, allocations: 330.9 kB / 458.1 MB, free: 28.8 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.009561, allocations: 124.4 kB / 458.2 MB, free: 28.77 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.00972, allocations: 130.3 kB / 458.3 MB, free: 28.73 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.01007, allocations: 283.4 kB / 458.6 MB, free: 28.64 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01007, allocations: 2.469 kB / 458.6 MB, free: 28.64 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005089/0.01058, allocations: 373.1 kB / 459 MB, free: 28.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01059, allocations: 5.844 kB / 459 MB, free: 28.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.0106, allocations: 2.531 kB / 459 MB, free: 28.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.01062, allocations: 0 / 459 MB, free: 28.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.01092, allocations: 78.73 kB / 459 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.01093, allocations: 2.781 kB / 459 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01104, allocations: 18.73 kB / 459.1 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.01106, allocations: 15.89 kB / 459.1 MB, free: 28.47 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 9.958e-05/0.01116, allocations: 132.2 kB / 459.2 MB, free: 28.34 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.0112, allocations: 27 kB / 459.2 MB, free: 28.33 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/0.01182, allocations: 404.9 kB / 459.6 MB, free: 28.18 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.01183, allocations: 3.062 kB / 459.6 MB, free: 28.18 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.01183, allocations: 6.906 kB / 459.6 MB, free: 28.17 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01184, allocations: 0 / 459.6 MB, free: 28.17 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.01209, allocations: 236.2 kB / 459.9 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.0121, allocations: 3.281 kB / 459.9 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.0125, allocations: 76.7 kB / 459.9 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.01251, allocations: 9.703 kB / 460 MB, free: 27.98 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.01254, allocations: 13.25 kB / 460 MB, free: 27.98 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01254, allocations: 2.719 kB / 460 MB, free: 27.98 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01254, allocations: 0 / 460 MB, free: 27.98 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007967/0.01334, allocations: 0.5358 MB / 460.5 MB, free: 27.76 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/0.01344, allocations: 51.86 kB / 460.6 MB, free: 27.74 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.01348, allocations: 13.62 kB / 460.6 MB, free: 27.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.01359, allocations: 7.281 kB / 460.6 MB, free: 27.73 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.01364, allocations: 29.22 kB / 460.6 MB, free: 27.72 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.01366, allocations: 13.03 kB / 460.6 MB, free: 27.72 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.01371, allocations: 106.3 kB / 460.7 MB, free: 27.64 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01371, allocations: 0 / 460.7 MB, free: 27.64 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002861/0.014, allocations: 72.36 kB / 460.8 MB, free: 27.62 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.0001751/0.01417, allocations: 114.5 kB / 460.9 MB, free: 27.53 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004383/0.01461, allocations: 289.4 kB / 461.2 MB, free: 27.46 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01461, allocations: 0 / 461.2 MB, free: 27.46 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.01481, allocations: 159.1 kB / 461.3 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.0002978/0.01511, allocations: 40.78 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.001143/0.01625, allocations: 0.7205 MB / 462.1 MB, free: 26.97 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.01637, allocations: 140.9 kB / 462.2 MB, free: 26.89 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.01656, allocations: 93.31 kB / 462.3 MB, free: 26.88 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.01666, allocations: 29.81 kB / 462.4 MB, free: 26.86 MB / 410.8 MB Notification: Performance of SimCode: time 7.02e-07/0.01666, allocations: 0 / 462.4 MB, free: 26.86 MB / 410.8 MB Notification: Performance of Templates: time 0.006566/0.02322, allocations: 3.081 MB / 465.4 MB, free: 26.5 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] 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.6708212529774755]