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.001002/0.001002, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001011/0.001011, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9067/0.9067, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.7159/0.7159, allocations: 88.09 MB / 350.7 MB, free: 11.82 MB / 330.8 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 2.184e-06/2.184e-06, allocations: 0 / 454.6 MB, free: 6.301 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.798e-05, allocations: 2.312 kB / 454.6 MB, free: 6.297 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.003112/0.00314, allocations: 1.419 MB / 456 MB, free: 4.867 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.004294, allocations: 0.5379 MB / 456.5 MB, free: 4.328 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.004367, allocations: 0 / 456.5 MB, free: 4.328 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.00447, allocations: 11.86 kB / 456.6 MB, free: 4.316 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.004837, allocations: 63.66 kB / 456.6 MB, free: 4.254 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.005022, allocations: 47.75 kB / 456.7 MB, free: 4.207 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.005303, allocations: 199.4 kB / 456.9 MB, free: 4.012 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.00535, allocations: 4.188 kB / 456.9 MB, free: 4.008 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.005653, allocations: 95.83 kB / 457 MB, free: 3.914 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.005891, allocations: 95.8 kB / 457 MB, free: 3.82 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.005923, allocations: 8 kB / 457.1 MB, free: 3.812 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.00605, allocations: 39.91 kB / 457.1 MB, free: 3.773 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.006177, allocations: 75.8 kB / 457.2 MB, free: 3.699 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.006251, allocations: 47.89 kB / 457.2 MB, free: 3.652 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.006503, allocations: 159.5 kB / 457.4 MB, free: 3.496 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006507, allocations: 0 / 457.4 MB, free: 3.496 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006508, allocations: 0 / 457.4 MB, free: 3.496 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.006513, allocations: 0 / 457.4 MB, free: 3.496 MB / 426.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.0007051/0.007218, allocations: 0.5001 MB / 457.9 MB, free: 2.957 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.007256, allocations: 8.031 kB / 457.9 MB, free: 2.949 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.007329, allocations: 20.84 kB / 457.9 MB, free: 2.93 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.007524, allocations: 158.4 kB / 458.1 MB, free: 2.75 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.007542, allocations: 12.61 kB / 458.1 MB, free: 2.738 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.007585, allocations: 20.08 kB / 458.1 MB, free: 2.719 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.007783, allocations: 112.4 kB / 458.2 MB, free: 2.605 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.007795, allocations: 3.938 kB / 458.2 MB, free: 2.602 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.007814, allocations: 4 kB / 458.2 MB, free: 2.598 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.007822, allocations: 4 kB / 458.2 MB, free: 2.594 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.007951, allocations: 56.62 kB / 458.3 MB, free: 2.539 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.008196, allocations: 162 kB / 458.4 MB, free: 2.355 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007624/0.008959, allocations: 255.4 kB / 458.7 MB, free: 2.094 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.009067, allocations: 55.66 kB / 458.7 MB, free: 2.035 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.009189, allocations: 15.98 kB / 458.7 MB, free: 2.02 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.009219, allocations: 37.39 kB / 458.8 MB, free: 1.973 MB / 426.8 MB Notification: Performance of pre-optimization done (n=28): time 3.086e-06/0.009222, allocations: 0 / 458.8 MB, free: 1.973 MB / 426.8 MB Notification: Performance of matching and sorting (n=28): time 0.0004577/0.00968, allocations: 218.1 kB / 459 MB, free: 1.754 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.009718, allocations: 55.41 kB / 459 MB, free: 1.688 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.009834, allocations: 191.5 kB / 459.2 MB, free: 1.484 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.009859, allocations: 33.7 kB / 459.3 MB, free: 1.445 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.009916, allocations: 143.3 kB / 459.4 MB, free: 1.301 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.01003, allocations: 119 kB / 459.5 MB, free: 1.184 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.01014, allocations: 67.66 kB / 459.6 MB, free: 1.105 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.01029, allocations: 0.5078 MB / 460.1 MB, free: 0.5859 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.0104, allocations: 36.62 kB / 460.1 MB, free: 0.5508 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.25e-05/0.01049, allocations: 49.2 kB / 460.2 MB, free: 0.5039 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.01071, allocations: 125.9 kB / 460.3 MB, free: 388 kB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01071, allocations: 0 / 460.3 MB, free: 388 kB / 426.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003528/0.01106, allocations: 209.3 kB / 460.5 MB, free: 172 kB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.01108, allocations: 11.94 kB / 460.5 MB, free: 160 kB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.01109, allocations: 3.984 kB / 460.5 MB, free: 156 kB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.0111, allocations: 0 / 460.5 MB, free: 156 kB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.01139, allocations: 79.91 kB / 460.6 MB, free: 76 kB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.0114, allocations: 0 / 460.6 MB, free: 76 kB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.0115, allocations: 19.84 kB / 460.6 MB, free: 56 kB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.01152, allocations: 12 kB / 460.6 MB, free: 44 kB / 426.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 0.0001361/0.01166, allocations: 172.5 kB / 460.8 MB, free: 15.86 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.01171, allocations: 23.91 kB / 460.8 MB, free: 15.84 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.01223, allocations: 275.3 kB / 461.1 MB, free: 15.57 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.01224, allocations: 4 kB / 461.1 MB, free: 15.56 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01224, allocations: 0 / 461.1 MB, free: 15.56 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.01225, allocations: 3.984 kB / 461.1 MB, free: 15.56 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.0125, allocations: 185 kB / 461.3 MB, free: 15.35 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.0125, allocations: 0 / 461.3 MB, free: 15.35 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.01288, allocations: 87.89 kB / 461.4 MB, free: 15.27 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.01289, allocations: 4 kB / 461.4 MB, free: 15.26 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.01292, allocations: 12 kB / 461.4 MB, free: 15.25 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01293, allocations: 4 kB / 461.4 MB, free: 15.25 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01293, allocations: 3.938 kB / 461.4 MB, free: 15.24 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.01351, allocations: 354.6 kB / 461.7 MB, free: 14.87 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.01361, allocations: 47.69 kB / 461.8 MB, free: 14.82 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.01365, allocations: 15.92 kB / 461.8 MB, free: 14.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/0.01375, allocations: 4 kB / 461.8 MB, free: 14.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.01381, allocations: 31.89 kB / 461.8 MB, free: 14.77 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.01383, allocations: 8 kB / 461.8 MB, free: 14.76 MB / 442.8 MB Notification: Performance of sorting global known variables: time 6.584e-05/0.01389, allocations: 145.5 kB / 462 MB, free: 14.62 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01389, allocations: 0 / 462 MB, free: 14.62 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003041/0.0142, allocations: 68 kB / 462 MB, free: 14.55 MB / 442.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.0001794/0.01438, allocations: 119.1 kB / 462.2 MB, free: 14.43 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.01469, allocations: 171.7 kB / 462.3 MB, free: 14.26 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.0147, allocations: 0 / 462.3 MB, free: 14.26 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.01485, allocations: 111.5 kB / 462.4 MB, free: 14.14 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.01514, allocations: 31.98 kB / 462.5 MB, free: 14.11 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.01602, allocations: 0.6346 MB / 463.1 MB, free: 13.45 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.202e-05/0.01607, allocations: 96.81 kB / 463.2 MB, free: 13.33 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 8.752e-05/0.01616, allocations: 37.91 kB / 463.2 MB, free: 13.3 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.01629, allocations: 122.2 kB / 463.4 MB, free: 13.18 MB / 442.8 MB Notification: Performance of SimCode: time 7.21e-07/0.01629, allocations: 0 / 463.4 MB, free: 13.18 MB / 442.8 MB Notification: Performance of Templates: time 0.005125/0.02141, allocations: 3.451 MB / 466.8 MB, free: 9.766 MB / 442.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.9498086809180677]