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.0009535/0.0009535, allocations: 78.66 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.001014/0.001014, allocations: 170.9 kB / 24.82 MB, free: 9.312 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.9471/0.9471, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.602/0.602, allocations: 88.07 MB / 349.9 MB, free: 14.13 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 3.436e-06/3.436e-06, allocations: 0 / 453.8 MB, free: 32.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.492e-05, allocations: 5.703 kB / 453.8 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002927/0.002962, allocations: 1.431 MB / 455.2 MB, free: 31.15 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004074, allocations: 0.5279 MB / 455.7 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.004153, allocations: 3.938 kB / 455.7 MB, free: 30.81 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.004263, allocations: 14.11 kB / 455.7 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.004693, allocations: 58.59 kB / 455.8 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.004878, allocations: 44.22 kB / 455.8 MB, free: 30.76 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.00513, allocations: 205.1 kB / 456 MB, free: 30.69 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.005176, allocations: 7.156 kB / 456 MB, free: 30.69 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.005479, allocations: 105 kB / 456.2 MB, free: 30.65 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.005715, allocations: 96.14 kB / 456.2 MB, free: 30.63 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.005749, allocations: 8.688 kB / 456.3 MB, free: 30.63 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.005882, allocations: 34.55 kB / 456.3 MB, free: 30.62 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.005988, allocations: 72.2 kB / 456.4 MB, free: 30.59 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.006051, allocations: 52.42 kB / 456.4 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.006328, allocations: 155.7 kB / 456.6 MB, free: 30.53 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.006336, allocations: 0 / 456.6 MB, free: 30.53 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.006337, allocations: 0 / 456.6 MB, free: 30.53 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.006349, allocations: 0 / 456.6 MB, free: 30.53 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.0007602/0.00711, allocations: 0.5027 MB / 457.1 MB, free: 30.1 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.007162, allocations: 8.812 kB / 457.1 MB, free: 30.1 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.95e-05/0.007262, allocations: 30.53 kB / 457.1 MB, free: 30.08 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.007458, allocations: 148 kB / 457.2 MB, free: 29.94 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.007477, allocations: 7.484 kB / 457.3 MB, free: 29.94 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.007522, allocations: 24.52 kB / 457.3 MB, free: 29.92 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.00773, allocations: 116.6 kB / 457.4 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007741, allocations: 0 / 457.4 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.007757, allocations: 10.64 kB / 457.4 MB, free: 29.87 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.007765, allocations: 2.625 kB / 457.4 MB, free: 29.87 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.007873, allocations: 52.27 kB / 457.5 MB, free: 29.87 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.008104, allocations: 167.2 kB / 457.6 MB, free: 29.71 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.008761, allocations: 244.4 kB / 457.9 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.846e-05/0.00885, allocations: 53.22 kB / 457.9 MB, free: 29.63 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.008985, allocations: 17.47 kB / 457.9 MB, free: 29.62 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.009008, allocations: 35.98 kB / 458 MB, free: 29.58 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 3.156e-06/0.009011, allocations: 0 / 458 MB, free: 29.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0004309/0.009442, allocations: 226.2 kB / 458.2 MB, free: 29.51 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.009467, allocations: 54.47 kB / 458.2 MB, free: 29.45 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.009554, allocations: 195.4 kB / 458.4 MB, free: 29.27 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.009573, allocations: 33.64 kB / 458.5 MB, free: 29.23 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.009607, allocations: 138.4 kB / 458.6 MB, free: 29.09 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.956e-05/0.009706, allocations: 119.6 kB / 458.7 MB, free: 29 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/0.009798, allocations: 77.06 kB / 458.8 MB, free: 28.94 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.009865, allocations: 0.4983 MB / 459.3 MB, free: 28.44 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.009958, allocations: 41.62 kB / 459.3 MB, free: 28.44 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.01004, allocations: 45.69 kB / 459.4 MB, free: 28.44 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.01023, allocations: 130.7 kB / 459.5 MB, free: 28.39 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01023, allocations: 2.969 kB / 459.5 MB, free: 28.39 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003152/0.01055, allocations: 208.9 kB / 459.7 MB, free: 28.31 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.01057, allocations: 9.125 kB / 459.7 MB, free: 28.31 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01058, allocations: 0 / 459.7 MB, free: 28.31 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.0106, allocations: 2.75 kB / 459.7 MB, free: 28.31 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.01086, allocations: 75.36 kB / 459.8 MB, free: 28.3 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01086, allocations: 6.781 kB / 459.8 MB, free: 28.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/0.01095, allocations: 14.73 kB / 459.8 MB, free: 28.29 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.01097, allocations: 13.08 kB / 459.8 MB, free: 28.28 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.934e-05/0.01106, allocations: 170.1 kB / 460 MB, free: 28.11 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.0111, allocations: 23.44 kB / 460 MB, free: 28.1 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.01154, allocations: 273.8 kB / 460.3 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.01154, allocations: 5.812 kB / 460.3 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01155, allocations: 0 / 460.3 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.01155, allocations: 7.234 kB / 460.3 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.01179, allocations: 188.8 kB / 460.5 MB, free: 27.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.0118, allocations: 3.938 kB / 460.5 MB, free: 27.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.01216, allocations: 80.19 kB / 460.6 MB, free: 27.81 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.01216, allocations: 6.375 kB / 460.6 MB, free: 27.81 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.0122, allocations: 12.78 kB / 460.6 MB, free: 27.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.01221, allocations: 2.562 kB / 460.6 MB, free: 27.8 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01221, allocations: 7.938 kB / 460.6 MB, free: 27.8 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.0127, allocations: 353.1 kB / 460.9 MB, free: 27.64 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-05/0.0128, allocations: 39.77 kB / 461 MB, free: 27.63 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.01283, allocations: 9.031 kB / 461 MB, free: 27.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/0.01292, allocations: 6.531 kB / 461 MB, free: 27.62 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.01296, allocations: 28.52 kB / 461 MB, free: 27.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.01298, allocations: 8.297 kB / 461 MB, free: 27.61 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.411e-05/0.01303, allocations: 144.5 kB / 461.2 MB, free: 27.49 MB / 410.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01303, allocations: 0 / 461.2 MB, free: 27.49 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003093/0.01334, allocations: 72.34 kB / 461.2 MB, free: 27.48 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.0002004/0.01354, allocations: 120.1 kB / 461.4 MB, free: 27.38 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.01383, allocations: 170.6 kB / 461.5 MB, free: 27.34 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.01384, allocations: 2.531 kB / 461.5 MB, free: 27.34 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.01398, allocations: 114.2 kB / 461.6 MB, free: 27.31 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.01427, allocations: 30.45 kB / 461.7 MB, free: 27.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.01553, allocations: 0.6351 MB / 462.3 MB, free: 26.87 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.01558, allocations: 96.48 kB / 462.4 MB, free: 26.79 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.01572, allocations: 39.41 kB / 462.4 MB, free: 26.78 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.0159, allocations: 122.5 kB / 462.6 MB, free: 26.71 MB / 410.8 MB Notification: Performance of SimCode: time 8.52e-07/0.0159, allocations: 0 / 462.6 MB, free: 26.71 MB / 410.8 MB Notification: Performance of Templates: time 0.007474/0.02337, allocations: 3.361 MB / 465.9 MB, free: 26.36 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: 3.8902286402881145]