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.001407/0.001407, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001753/0.003161, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007633/0.0007633, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.001935, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.221/1.221, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1211/1.342, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.9223/0.9223, allocations: 88.08 MB / 332.2 MB, free: 14.13 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06772/0.99, allocations: 32.93 MB / 365.2 MB, free: 13.38 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",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.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 366.5 MB, free: 12.05 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.478e-05, allocations: 2.312 kB / 366.5 MB, free: 12.04 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002705/0.00273, allocations: 1.477 MB / 368 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.003585, allocations: 0.5533 MB / 368.5 MB, free: 10 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.003626, allocations: 7.938 kB / 368.5 MB, free: 9.992 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.003662, allocations: 3.938 kB / 368.6 MB, free: 9.988 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.003868, allocations: 63.66 kB / 368.6 MB, free: 9.926 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.869e-05/0.003937, allocations: 35.83 kB / 368.7 MB, free: 9.891 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.004198, allocations: 335.3 kB / 369 MB, free: 9.562 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.004241, allocations: 4.812 kB / 369 MB, free: 9.559 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.004473, allocations: 179.6 kB / 369.2 MB, free: 9.383 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.00475, allocations: 147.7 kB / 369.3 MB, free: 9.238 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.00478, allocations: 20 kB / 369.3 MB, free: 9.219 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.004894, allocations: 43.91 kB / 369.4 MB, free: 9.176 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.004992, allocations: 95.83 kB / 369.5 MB, free: 9.082 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.005059, allocations: 67.81 kB / 369.5 MB, free: 9.016 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.00526, allocations: 219.3 kB / 369.7 MB, free: 8.801 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.005274, allocations: 0 / 369.7 MB, free: 8.801 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005275, allocations: 4 kB / 369.7 MB, free: 8.797 MB / 362.8 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.005283, allocations: 0 / 369.7 MB, free: 8.797 MB / 362.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.0007135/0.005996, allocations: 0.5395 MB / 370.3 MB, free: 8.234 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.006033, allocations: 12.03 kB / 370.3 MB, free: 8.223 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.006096, allocations: 28.92 kB / 370.3 MB, free: 8.195 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.006287, allocations: 181.9 kB / 370.5 MB, free: 7.992 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.006303, allocations: 16.44 kB / 370.5 MB, free: 7.977 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.006352, allocations: 27.95 kB / 370.5 MB, free: 7.949 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.006582, allocations: 194.8 kB / 370.7 MB, free: 7.75 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.006591, allocations: 0 / 370.7 MB, free: 7.75 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.006614, allocations: 12 kB / 370.7 MB, free: 7.738 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.006622, allocations: 7.938 kB / 370.8 MB, free: 7.73 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.006745, allocations: 87.42 kB / 370.8 MB, free: 7.645 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.007157, allocations: 173 kB / 371 MB, free: 7.461 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007413/0.007898, allocations: 422.8 kB / 371.4 MB, free: 7.035 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.354e-05/0.007992, allocations: 82.33 kB / 371.5 MB, free: 6.953 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-05/0.008083, allocations: 16.48 kB / 371.5 MB, free: 6.938 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.008106, allocations: 39.06 kB / 371.6 MB, free: 6.891 MB / 362.8 MB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.008108, allocations: 0 / 371.6 MB, free: 6.891 MB / 362.8 MB Notification: Performance of matching and sorting (n=53): time 0.000365/0.008473, allocations: 299.5 kB / 371.8 MB, free: 6.59 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.0085, allocations: 55.91 kB / 371.9 MB, free: 6.52 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.008569, allocations: 140.7 kB / 372 MB, free: 6.371 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.008596, allocations: 37.7 kB / 372.1 MB, free: 6.328 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.008621, allocations: 93.11 kB / 372.2 MB, free: 6.234 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.008734, allocations: 222.1 kB / 372.4 MB, free: 6.016 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.008824, allocations: 98.28 kB / 372.5 MB, free: 5.914 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.008904, allocations: 342.7 kB / 372.8 MB, free: 5.57 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/0.008997, allocations: 80.09 kB / 372.9 MB, free: 5.492 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.009079, allocations: 69.88 kB / 373 MB, free: 5.426 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.009296, allocations: 226.8 kB / 373.2 MB, free: 5.199 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.009299, allocations: 0 / 373.2 MB, free: 5.199 MB / 362.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002696/0.009568, allocations: 277.3 kB / 373.5 MB, free: 4.922 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.009581, allocations: 8 kB / 373.5 MB, free: 4.914 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.009586, allocations: 0 / 373.5 MB, free: 4.914 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.009596, allocations: 0 / 373.5 MB, free: 4.914 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.01002, allocations: 210 kB / 373.7 MB, free: 4.711 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.01003, allocations: 4 kB / 373.7 MB, free: 4.707 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.01011, allocations: 43.73 kB / 373.7 MB, free: 4.664 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.01013, allocations: 12 kB / 373.7 MB, free: 4.652 MB / 362.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 0.0001066/0.01024, allocations: 140.6 kB / 373.9 MB, free: 4.504 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.01028, allocations: 31.98 kB / 373.9 MB, free: 4.473 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.01072, allocations: 389.8 kB / 374.3 MB, free: 4.086 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.01073, allocations: 11.94 kB / 374.3 MB, free: 4.074 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01073, allocations: 0 / 374.3 MB, free: 4.074 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.01074, allocations: 3.984 kB / 374.3 MB, free: 4.07 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.01097, allocations: 234.1 kB / 374.5 MB, free: 3.824 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01098, allocations: 0 / 374.5 MB, free: 3.824 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008603/0.01184, allocations: 232.5 kB / 374.7 MB, free: 3.602 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.01192, allocations: 75.52 kB / 374.8 MB, free: 3.527 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.01193, allocations: 4 kB / 374.8 MB, free: 3.523 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.01196, allocations: 15.98 kB / 374.8 MB, free: 3.508 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01196, allocations: 4 kB / 374.8 MB, free: 3.504 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01196, allocations: 0 / 374.8 MB, free: 3.504 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.01244, allocations: 0.4964 MB / 375.3 MB, free: 2.984 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.01248, allocations: 23.98 kB / 375.4 MB, free: 2.961 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.01255, allocations: 12 kB / 375.4 MB, free: 2.949 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.01261, allocations: 48.5 kB / 375.4 MB, free: 2.902 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.01262, allocations: 12 kB / 375.4 MB, free: 2.891 MB / 362.8 MB Notification: Performance of sorting global known variables: time 2.657e-05/0.01265, allocations: 39.75 kB / 375.5 MB, free: 2.852 MB / 362.8 MB Notification: Performance of sort global known variables: time 4e-08/0.01265, allocations: 0 / 375.5 MB, free: 2.852 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001915/0.01284, allocations: 120 kB / 375.6 MB, free: 2.734 MB / 362.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.0001374/0.01298, allocations: 108.9 kB / 375.7 MB, free: 2.621 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.01327, allocations: 292.3 kB / 376 MB, free: 2.336 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.01328, allocations: 7.938 kB / 376 MB, free: 2.328 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.01346, allocations: 227.1 kB / 376.2 MB, free: 2.102 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.01376, allocations: 440.8 kB / 376.6 MB, free: 1.59 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.01605, allocations: 0.778 MB / 377.4 MB, free: 0.7852 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.05e-05/0.01612, allocations: 122.8 kB / 377.5 MB, free: 0.6445 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.00014/0.01626, allocations: 71.22 kB / 377.6 MB, free: 0.5742 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.01648, allocations: 139.3 kB / 377.7 MB, free: 448 kB / 362.8 MB Notification: Performance of SimCode: time 1.042e-06/0.01648, allocations: 0 / 377.7 MB, free: 448 kB / 362.8 MB Notification: Performance of Templates: time 0.007737/0.02422, allocations: 6.347 MB / 384.1 MB, free: 10.24 MB / 378.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.607359433546662]