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.001571/0.001571, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001774/0.001774, allocations: 161 kB / 24.56 MB, free: 12 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.978/0.978, allocations: 177.1 MB / 205 MB, free: 5.621 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.6661/0.6661, allocations: 88.09 MB / 349.6 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 1.834e-06/1.834e-06, allocations: 0 / 453.3 MB, free: 32.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.089e-05, allocations: 9.75 kB / 453.3 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001744/0.001775, allocations: 1.425 MB / 454.7 MB, free: 31.42 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.002476, allocations: 0.5407 MB / 455.3 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.002523, allocations: 0 / 455.3 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.844e-05/0.002622, allocations: 7.266 kB / 455.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.002965, allocations: 61.12 kB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.281e-05/0.003048, allocations: 52.36 kB / 455.4 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.00323, allocations: 197.8 kB / 455.6 MB, free: 30.96 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.003272, allocations: 11.03 kB / 455.6 MB, free: 30.95 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.003461, allocations: 104.3 kB / 455.7 MB, free: 30.92 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.003611, allocations: 93.8 kB / 455.8 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.003636, allocations: 5.375 kB / 455.8 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.00372, allocations: 36.34 kB / 455.8 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.003804, allocations: 71.88 kB / 455.9 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.00386, allocations: 53.88 kB / 455.9 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.004053, allocations: 160 kB / 456.1 MB, free: 30.8 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.004057, allocations: 2.844 kB / 456.1 MB, free: 30.8 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004058, allocations: 3.938 kB / 456.1 MB, free: 30.79 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.004064, allocations: 0 / 456.1 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.0005034/0.004567, allocations: 0.4938 MB / 456.6 MB, free: 30.36 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.004608, allocations: 11.5 kB / 456.6 MB, free: 30.36 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.004671, allocations: 24.59 kB / 456.6 MB, free: 30.35 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.004812, allocations: 156 kB / 456.8 MB, free: 30.21 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.004823, allocations: 7.422 kB / 456.8 MB, free: 30.2 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.004854, allocations: 20.83 kB / 456.8 MB, free: 30.19 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.005021, allocations: 120 kB / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.005029, allocations: 0 / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.005046, allocations: 6.969 kB / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.005054, allocations: 6.859 kB / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.005156, allocations: 75.38 kB / 457 MB, free: 30.12 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.005331, allocations: 188.3 kB / 457.2 MB, free: 29.94 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.005839, allocations: 263.5 kB / 457.5 MB, free: 29.87 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.743e-05/0.005916, allocations: 64.78 kB / 457.5 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.006027, allocations: 12.16 kB / 457.5 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.006045, allocations: 40.08 kB / 457.6 MB, free: 29.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.006047, allocations: 0 / 457.6 MB, free: 29.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.000342/0.006389, allocations: 248.8 kB / 457.8 MB, free: 29.71 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.006413, allocations: 61.72 kB / 457.9 MB, free: 29.64 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.067e-05/0.006484, allocations: 191.8 kB / 458.1 MB, free: 29.47 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.006497, allocations: 29.7 kB / 458.1 MB, free: 29.44 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.006527, allocations: 138 kB / 458.2 MB, free: 29.3 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.006593, allocations: 129.6 kB / 458.4 MB, free: 29.2 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.006654, allocations: 63.92 kB / 458.4 MB, free: 29.15 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.006715, allocations: 0.5071 MB / 458.9 MB, free: 28.65 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.006787, allocations: 50.81 kB / 459 MB, free: 28.64 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.006857, allocations: 60.86 kB / 459 MB, free: 28.63 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.007029, allocations: 146.8 kB / 459.2 MB, free: 28.58 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.007032, allocations: 0 / 459.2 MB, free: 28.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002362/0.007268, allocations: 247.1 kB / 459.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.007282, allocations: 8.781 kB / 459.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.007286, allocations: 0 / 459.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.007299, allocations: 3 kB / 459.4 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.007466, allocations: 72.25 kB / 459.5 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.007472, allocations: 0 / 459.5 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.007521, allocations: 21.67 kB / 459.5 MB, free: 28.46 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.007535, allocations: 8.703 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 5.863e-05/0.007593, allocations: 170.2 kB / 459.7 MB, free: 28.29 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.007619, allocations: 27.06 kB / 459.7 MB, free: 28.27 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.007977, allocations: 300.2 kB / 460 MB, free: 28.15 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.00798, allocations: 2.969 kB / 460 MB, free: 28.15 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.007984, allocations: 0 / 460 MB, free: 28.15 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.00799, allocations: 3.234 kB / 460 MB, free: 28.15 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.00814, allocations: 210.8 kB / 460.2 MB, free: 27.96 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.008142, allocations: 0 / 460.2 MB, free: 27.96 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.008375, allocations: 88.77 kB / 460.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.008379, allocations: 2.75 kB / 460.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.008414, allocations: 16.88 kB / 460.3 MB, free: 27.94 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.008417, allocations: 0 / 460.3 MB, free: 27.94 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008419, allocations: 0 / 460.3 MB, free: 27.94 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.008837, allocations: 390.3 kB / 460.7 MB, free: 27.77 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.008904, allocations: 45.81 kB / 460.8 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.008933, allocations: 13.81 kB / 460.8 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.008984, allocations: 6.75 kB / 460.8 MB, free: 27.74 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.00902, allocations: 25.42 kB / 460.8 MB, free: 27.74 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.009033, allocations: 12.72 kB / 460.8 MB, free: 27.73 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.853e-05/0.009061, allocations: 138 kB / 460.9 MB, free: 27.61 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.009061, allocations: 0 / 460.9 MB, free: 27.61 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001714/0.009233, allocations: 76.69 kB / 461 MB, free: 27.6 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.0001266/0.009359, allocations: 121.1 kB / 461.1 MB, free: 27.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.009603, allocations: 191.8 kB / 461.3 MB, free: 27.46 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009605, allocations: 0 / 461.3 MB, free: 27.46 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.009705, allocations: 122.8 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.000194/0.0099, allocations: 37.59 kB / 461.5 MB, free: 27.4 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.01075, allocations: 0.6379 MB / 462.1 MB, free: 26.97 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.065e-05/0.01079, allocations: 92.94 kB / 462.2 MB, free: 26.9 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.01091, allocations: 77 kB / 462.3 MB, free: 26.89 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.01098, allocations: 31.16 kB / 462.3 MB, free: 26.88 MB / 410.8 MB Notification: Performance of SimCode: time 4.91e-07/0.01098, allocations: 0 / 462.3 MB, free: 26.88 MB / 410.8 MB Notification: Performance of Templates: time 0.004752/0.01573, allocations: 3.282 MB / 465.6 MB, free: 26.48 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.240563085768372]