Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.001295/0.001295, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001688/0.001688, allocations: 171.7 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 0.9289/0.9289, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.6094/0.6094, allocations: 88.08 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_20,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_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,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_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 453.8 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.615e-05, allocations: 3.188 kB / 453.8 MB, free: 32.15 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.00175/0.001776, allocations: 1.429 MB / 455.2 MB, free: 31.18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000694/0.00247, allocations: 0.534 MB / 455.7 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.002516, allocations: 0 / 455.7 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.318e-05/0.002599, allocations: 10.64 kB / 455.7 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.0029, allocations: 54.3 kB / 455.8 MB, free: 30.81 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.003014, allocations: 51.98 kB / 455.8 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.003317, allocations: 0.5494 MB / 456.4 MB, free: 30.62 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.00337, allocations: 20.38 kB / 456.4 MB, free: 30.62 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.003712, allocations: 269 kB / 456.7 MB, free: 30.53 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.004029, allocations: 267.1 kB / 456.9 MB, free: 30.47 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.236e-05/0.004081, allocations: 29.19 kB / 457 MB, free: 30.47 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.004223, allocations: 51.59 kB / 457 MB, free: 30.46 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.004393, allocations: 255.7 kB / 457.3 MB, free: 30.37 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.004517, allocations: 185.5 kB / 457.4 MB, free: 30.31 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.004867, allocations: 490.3 kB / 457.9 MB, free: 30.18 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.004871, allocations: 0 / 457.9 MB, free: 30.18 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004872, allocations: 0 / 457.9 MB, free: 30.18 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.004879, allocations: 4 kB / 457.9 MB, free: 30.17 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009178/0.005797, allocations: 0.8625 MB / 458.8 MB, free: 29.61 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.005834, allocations: 8.312 kB / 458.8 MB, free: 29.61 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.005937, allocations: 80.12 kB / 458.9 MB, free: 29.57 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.00615, allocations: 247 kB / 459.1 MB, free: 29.39 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.006168, allocations: 31.25 kB / 459.1 MB, free: 29.38 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.006232, allocations: 62.86 kB / 459.2 MB, free: 29.34 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.006559, allocations: 337.2 kB / 459.5 MB, free: 29.26 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.006569, allocations: 3.938 kB / 459.5 MB, free: 29.26 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.006597, allocations: 14.62 kB / 459.6 MB, free: 29.25 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.006607, allocations: 15.14 kB / 459.6 MB, free: 29.24 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.006883, allocations: 213.4 kB / 459.8 MB, free: 29.23 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.00722, allocations: 348.4 kB / 460.1 MB, free: 28.98 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.0085, allocations: 0.9269 MB / 461 MB, free: 28.77 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.008688, allocations: 186.7 kB / 461.2 MB, free: 28.73 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.00883, allocations: 34.64 kB / 461.3 MB, free: 28.73 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.008858, allocations: 48.98 kB / 461.3 MB, free: 28.67 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 5.46e-06/0.008864, allocations: 4 kB / 461.3 MB, free: 28.67 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.0007801/0.009644, allocations: 0.7187 MB / 462 MB, free: 28.51 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.009667, allocations: 63.97 kB / 462.1 MB, free: 28.45 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.009764, allocations: 227.5 kB / 462.3 MB, free: 28.26 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.009795, allocations: 40.39 kB / 462.4 MB, free: 28.21 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.009828, allocations: 157.1 kB / 462.5 MB, free: 28.07 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.009996, allocations: 444 kB / 462.9 MB, free: 27.71 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.01015, allocations: 210.5 kB / 463.1 MB, free: 27.61 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.01022, allocations: 0.5559 MB / 463.7 MB, free: 27.07 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.01039, allocations: 153.9 kB / 463.9 MB, free: 27.07 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.01055, allocations: 166.4 kB / 464 MB, free: 27.06 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.01095, allocations: 461.8 kB / 464.5 MB, free: 26.92 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.01095, allocations: 0 / 464.5 MB, free: 26.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00059/0.01154, allocations: 0.675 MB / 465.1 MB, free: 26.74 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.01156, allocations: 6.938 kB / 465.1 MB, free: 26.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01156, allocations: 0 / 465.1 MB, free: 26.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01158, allocations: 5.719 kB / 465.2 MB, free: 26.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/0.01209, allocations: 273.6 kB / 465.4 MB, free: 26.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.0121, allocations: 2.875 kB / 465.4 MB, free: 26.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.01226, allocations: 82.14 kB / 465.5 MB, free: 26.64 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.01229, allocations: 30.97 kB / 465.5 MB, free: 26.64 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 (144): * Single equations (assignments): 144 * 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.0001128/0.01241, allocations: 208.6 kB / 465.7 MB, free: 26.43 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.01248, allocations: 77.89 kB / 465.8 MB, free: 26.39 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000808/0.01329, allocations: 0.8955 MB / 466.7 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.0133, allocations: 15.5 kB / 466.7 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.0133, allocations: 3.375 kB / 466.7 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.01331, allocations: 10.83 kB / 466.7 MB, free: 26.09 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.01369, allocations: 454.7 kB / 467.2 MB, free: 25.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.01369, allocations: 0 / 467.2 MB, free: 25.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007022/0.01439, allocations: 303.3 kB / 467.5 MB, free: 25.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.0144, allocations: 9.188 kB / 467.5 MB, free: 25.74 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.01446, allocations: 45.73 kB / 467.5 MB, free: 25.72 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.01446, allocations: 9.188 kB / 467.5 MB, free: 25.71 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01447, allocations: 4 kB / 467.5 MB, free: 25.71 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.01539, allocations: 1.105 MB / 468.6 MB, free: 25.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.01556, allocations: 150.3 kB / 468.8 MB, free: 25.3 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.01562, allocations: 32.89 kB / 468.8 MB, free: 25.29 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.01576, allocations: 33.94 kB / 468.9 MB, free: 25.26 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.01583, allocations: 88.33 kB / 468.9 MB, free: 25.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.01586, allocations: 31.12 kB / 469 MB, free: 25.24 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.0159, allocations: 168 kB / 469.1 MB, free: 25.11 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.81e-07/0.0159, allocations: 0 / 469.1 MB, free: 25.11 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003441/0.01625, allocations: 230.9 kB / 469.4 MB, free: 25.07 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0001662/0.01641, allocations: 159.8 kB / 469.5 MB, free: 24.95 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005791/0.01699, allocations: 0.595 MB / 470.1 MB, free: 24.86 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.017, allocations: 0 / 470.1 MB, free: 24.86 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.01728, allocations: 407.9 kB / 470.5 MB, free: 24.79 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.01758, allocations: 111.1 kB / 470.6 MB, free: 24.73 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.01942, allocations: 1.993 MB / 472.6 MB, free: 23.52 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.01955, allocations: 185.6 kB / 472.8 MB, free: 23.45 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.01985, allocations: 136 kB / 472.9 MB, free: 23.41 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.02024, allocations: 238.2 kB / 473.2 MB, free: 23.33 MB / 410.8 MB Notification: Performance of SimCode: time 1.623e-06/0.02024, allocations: 4.938 kB / 473.2 MB, free: 23.33 MB / 410.8 MB Notification: Performance of Templates: time 0.016/0.03623, allocations: 10.78 MB / 483.9 MB, free: 22.26 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_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: 6.5953029980883]