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.002486/0.002486, allocations: 91.62 kB / 20.96 MB, free: 3.457 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.002629/0.002629, allocations: 162.1 kB / 24.27 MB, free: 152 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.712/1.712, allocations: 177.1 MB / 204.6 MB, free: 5.574 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 1.001/1.001, 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_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.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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 452.5 MB, free: 32.21 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.984e-05, allocations: 5.547 kB / 452.5 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002138/0.002168, allocations: 1.406 MB / 453.9 MB, free: 31.23 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000886/0.003054, allocations: 0.5334 MB / 454.5 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.003103, allocations: 4 kB / 454.5 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.315e-05/0.003196, allocations: 14.19 kB / 454.5 MB, free: 30.88 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.003514, allocations: 49.8 kB / 454.5 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.00362, allocations: 48.17 kB / 454.6 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.003828, allocations: 204.1 kB / 454.8 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.003871, allocations: 7.062 kB / 454.8 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.004081, allocations: 109.1 kB / 454.9 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.004264, allocations: 92.16 kB / 455 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.004302, allocations: 12.5 kB / 455 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.004403, allocations: 31.55 kB / 455 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.00451, allocations: 70.58 kB / 455.1 MB, free: 30.67 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.004581, allocations: 52.95 kB / 455.1 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.004785, allocations: 158.9 kB / 455.3 MB, free: 30.61 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004788, allocations: 0 / 455.3 MB, free: 30.61 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004789, allocations: 0 / 455.3 MB, free: 30.61 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.004794, allocations: 0 / 455.3 MB, free: 30.61 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.0007161/0.00551, allocations: 0.4965 MB / 455.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.005548, allocations: 9.625 kB / 455.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.005621, allocations: 26.34 kB / 455.8 MB, free: 30.17 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.005816, allocations: 159.3 kB / 456 MB, free: 30.02 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.005831, allocations: 9.953 kB / 456 MB, free: 30.02 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.005884, allocations: 24.14 kB / 456 MB, free: 30 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.0061, allocations: 125.4 kB / 456.1 MB, free: 29.95 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.00611, allocations: 0 / 456.1 MB, free: 29.95 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.006128, allocations: 4 kB / 456.1 MB, free: 29.95 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.006134, allocations: 2.375 kB / 456.1 MB, free: 29.95 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.006308, allocations: 88.38 kB / 456.2 MB, free: 29.94 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.006542, allocations: 189.2 kB / 456.4 MB, free: 29.76 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000848/0.00739, allocations: 257.9 kB / 456.7 MB, free: 29.68 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.007511, allocations: 74.31 kB / 456.7 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.00764, allocations: 11.78 kB / 456.7 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.00766, allocations: 43.95 kB / 456.8 MB, free: 29.6 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/0.007661, allocations: 3.938 kB / 456.8 MB, free: 29.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0005144/0.008176, allocations: 259.1 kB / 457 MB, free: 29.52 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.008201, allocations: 54.28 kB / 457.1 MB, free: 29.45 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.008296, allocations: 187.9 kB / 457.3 MB, free: 29.28 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.008314, allocations: 32.52 kB / 457.3 MB, free: 29.25 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.008356, allocations: 141.7 kB / 457.5 MB, free: 29.11 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.732e-05/0.008434, allocations: 119.4 kB / 457.6 MB, free: 29.02 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.008518, allocations: 72.94 kB / 457.6 MB, free: 28.96 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.008602, allocations: 0.5003 MB / 458.1 MB, free: 28.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.008716, allocations: 58.06 kB / 458.2 MB, free: 28.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.008837, allocations: 67.25 kB / 458.3 MB, free: 28.44 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.009084, allocations: 166 kB / 458.4 MB, free: 28.38 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.009087, allocations: 2.812 kB / 458.4 MB, free: 28.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003668/0.009454, allocations: 250.6 kB / 458.7 MB, free: 28.28 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.009467, allocations: 2.5 kB / 458.7 MB, free: 28.28 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.009472, allocations: 2.625 kB / 458.7 MB, free: 28.28 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.009489, allocations: 0 / 458.7 MB, free: 28.28 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.009797, allocations: 76.64 kB / 458.8 MB, free: 28.27 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.009805, allocations: 6.719 kB / 458.8 MB, free: 28.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.009915, allocations: 17.05 kB / 458.8 MB, free: 28.26 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.009936, allocations: 9.281 kB / 458.8 MB, free: 28.25 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 8.727e-05/0.01002, allocations: 170.1 kB / 458.9 MB, free: 28.08 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.01007, allocations: 27.41 kB / 459 MB, free: 28.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.01062, allocations: 315.4 kB / 459.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.01062, allocations: 2.812 kB / 459.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01063, allocations: 2.594 kB / 459.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01063, allocations: 0 / 459.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.01084, allocations: 214.7 kB / 459.5 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01085, allocations: 2.562 kB / 459.5 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.01123, allocations: 83.28 kB / 459.6 MB, free: 27.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01124, allocations: 2.688 kB / 459.6 MB, free: 27.74 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.01127, allocations: 16.55 kB / 459.6 MB, free: 27.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01127, allocations: 0 / 459.6 MB, free: 27.73 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01127, allocations: 6.531 kB / 459.6 MB, free: 27.73 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.01184, allocations: 414.3 kB / 460 MB, free: 27.55 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.01195, allocations: 43.48 kB / 460.1 MB, free: 27.54 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.01199, allocations: 14.05 kB / 460.1 MB, free: 27.53 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.01209, allocations: 7 kB / 460.1 MB, free: 27.53 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.01215, allocations: 29.84 kB / 460.1 MB, free: 27.52 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.01216, allocations: 13.53 kB / 460.1 MB, free: 27.51 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.01221, allocations: 147.5 kB / 460.3 MB, free: 27.39 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01221, allocations: 0 / 460.3 MB, free: 27.39 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003359/0.01255, allocations: 68.22 kB / 460.3 MB, free: 27.38 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.0001704/0.01272, allocations: 122.6 kB / 460.4 MB, free: 27.28 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.01325, allocations: 204.8 kB / 460.6 MB, free: 27.23 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01325, allocations: 0 / 460.6 MB, free: 27.23 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.01346, allocations: 129.9 kB / 460.8 MB, free: 27.2 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.01373, allocations: 30.94 kB / 460.8 MB, free: 27.18 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009851/0.01472, allocations: 0.65 MB / 461.5 MB, free: 26.74 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.701e-05/0.01482, allocations: 130.7 kB / 461.6 MB, free: 26.66 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.01498, allocations: 73.81 kB / 461.7 MB, free: 26.65 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.01506, allocations: 32.95 kB / 461.7 MB, free: 26.64 MB / 410.8 MB Notification: Performance of SimCode: time 7.01e-07/0.01506, allocations: 0 / 461.7 MB, free: 26.64 MB / 410.8 MB Notification: Performance of Templates: time 0.007156/0.02222, allocations: 3.086 MB / 464.8 MB, free: 26.3 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_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.863381325965747]