Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001165/0.001165, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001631/0.001631, allocations: 162.2 kB / 24.82 MB, free: 9.266 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 1.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.6617/0.6617, allocations: 88.09 MB / 349.9 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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 453.8 MB, free: 32.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.433e-05/3.653e-05, allocations: 3.078 kB / 453.8 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001834/0.001871, allocations: 1.423 MB / 455.2 MB, free: 31.18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.002647, allocations: 0.5413 MB / 455.7 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.002699, allocations: 0 / 455.7 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.002812, allocations: 10.02 kB / 455.7 MB, free: 30.83 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.003117, allocations: 57.84 kB / 455.8 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.87e-05/0.003196, allocations: 51.16 kB / 455.8 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.003361, allocations: 198.6 kB / 456 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.003403, allocations: 7.062 kB / 456 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.003609, allocations: 107.3 kB / 456.2 MB, free: 30.68 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.003786, allocations: 93.25 kB / 456.2 MB, free: 30.65 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.003814, allocations: 8.781 kB / 456.3 MB, free: 30.65 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.003905, allocations: 30.73 kB / 456.3 MB, free: 30.65 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.929e-05/0.003995, allocations: 74.38 kB / 456.4 MB, free: 30.62 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.227e-05/0.004047, allocations: 55 kB / 456.4 MB, free: 30.6 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.00422, allocations: 156.9 kB / 456.6 MB, free: 30.55 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004222, allocations: 2.875 kB / 456.6 MB, free: 30.55 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004223, allocations: 0 / 456.6 MB, free: 30.55 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.004227, allocations: 0 / 456.6 MB, free: 30.55 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.0004812/0.004709, allocations: 0.4996 MB / 457.1 MB, free: 30.12 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.004755, allocations: 8.781 kB / 457.1 MB, free: 30.12 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.004803, allocations: 24.22 kB / 457.1 MB, free: 30.11 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.004929, allocations: 154.3 kB / 457.2 MB, free: 29.96 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.004942, allocations: 10.3 kB / 457.3 MB, free: 29.96 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.004972, allocations: 24.73 kB / 457.3 MB, free: 29.94 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.005106, allocations: 109 kB / 457.4 MB, free: 29.9 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.005113, allocations: 0 / 457.4 MB, free: 29.9 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.005128, allocations: 14.98 kB / 457.4 MB, free: 29.89 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.005133, allocations: 0 / 457.4 MB, free: 29.89 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.005207, allocations: 60 kB / 457.5 MB, free: 29.89 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.005384, allocations: 158.2 kB / 457.6 MB, free: 29.74 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.005877, allocations: 254.1 kB / 457.9 MB, free: 29.67 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.005939, allocations: 51.02 kB / 457.9 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.00604, allocations: 15.67 kB / 457.9 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.006059, allocations: 43.89 kB / 458 MB, free: 29.6 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.006061, allocations: 4 kB / 458 MB, free: 29.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0003002/0.006361, allocations: 225 kB / 458.2 MB, free: 29.52 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.006389, allocations: 54 kB / 458.2 MB, free: 29.46 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.006457, allocations: 189.6 kB / 458.4 MB, free: 29.29 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.006471, allocations: 28.45 kB / 458.5 MB, free: 29.25 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.006506, allocations: 145.5 kB / 458.6 MB, free: 29.11 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.006576, allocations: 118.1 kB / 458.7 MB, free: 29.02 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.006648, allocations: 63.22 kB / 458.8 MB, free: 28.97 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.006719, allocations: 0.5105 MB / 459.3 MB, free: 28.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.006774, allocations: 39.5 kB / 459.3 MB, free: 28.46 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.006827, allocations: 55.55 kB / 459.4 MB, free: 28.45 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.00696, allocations: 125.1 kB / 459.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.006963, allocations: 0 / 459.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000206/0.007169, allocations: 208.8 kB / 459.7 MB, free: 28.34 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.007182, allocations: 6.75 kB / 459.7 MB, free: 28.33 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.007186, allocations: 2.906 kB / 459.7 MB, free: 28.33 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.0072, allocations: 0 / 459.7 MB, free: 28.33 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.007362, allocations: 78.27 kB / 459.8 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.007365, allocations: 0 / 459.8 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.007411, allocations: 17.52 kB / 459.8 MB, free: 28.31 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.007424, allocations: 6.188 kB / 459.8 MB, free: 28.31 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.773e-05/0.007481, allocations: 178.4 kB / 460 MB, free: 28.13 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.007505, allocations: 19.34 kB / 460 MB, free: 28.12 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.00779, allocations: 283.7 kB / 460.3 MB, free: 28.01 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.007794, allocations: 5.75 kB / 460.3 MB, free: 28.01 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.007795, allocations: 0 / 460.3 MB, free: 28.01 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.007799, allocations: 4 kB / 460.3 MB, free: 28.01 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.007925, allocations: 191.1 kB / 460.5 MB, free: 27.84 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.007926, allocations: 0 / 460.5 MB, free: 27.84 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.008141, allocations: 86.48 kB / 460.6 MB, free: 27.83 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008145, allocations: 3.219 kB / 460.6 MB, free: 27.83 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.008165, allocations: 7 kB / 460.6 MB, free: 27.83 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.008167, allocations: 2.594 kB / 460.6 MB, free: 27.83 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.00817, allocations: 11.06 kB / 460.6 MB, free: 27.82 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.008484, allocations: 347.3 kB / 460.9 MB, free: 27.67 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.008536, allocations: 36.91 kB / 461 MB, free: 27.66 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.008568, allocations: 25.59 kB / 461 MB, free: 27.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.008615, allocations: 4 kB / 461 MB, free: 27.64 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.008643, allocations: 25.8 kB / 461 MB, free: 27.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.008654, allocations: 13.39 kB / 461 MB, free: 27.63 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.895e-05/0.008683, allocations: 140.5 kB / 461.2 MB, free: 27.51 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.008683, allocations: 0 / 461.2 MB, free: 27.51 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000177/0.00886, allocations: 74.81 kB / 461.2 MB, free: 27.49 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.0001351/0.008996, allocations: 112.3 kB / 461.4 MB, free: 27.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.009184, allocations: 178 kB / 461.5 MB, free: 27.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.009186, allocations: 0 / 461.5 MB, free: 27.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.009271, allocations: 112.3 kB / 461.6 MB, free: 27.33 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.009455, allocations: 28.86 kB / 461.7 MB, free: 27.32 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.01028, allocations: 0.6426 MB / 462.3 MB, free: 26.89 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.01032, allocations: 89.25 kB / 462.4 MB, free: 26.82 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.073e-05/0.0104, allocations: 41.89 kB / 462.4 MB, free: 26.8 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.01053, allocations: 119.2 kB / 462.6 MB, free: 26.74 MB / 410.8 MB Notification: Performance of SimCode: time 1.352e-06/0.01054, allocations: 0 / 462.6 MB, free: 26.74 MB / 410.8 MB Notification: Performance of Templates: time 0.005097/0.01563, allocations: 3.367 MB / 465.9 MB, free: 26.4 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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.544830427970737]