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.0008297/0.0008297, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.001965, 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.0007471/0.0007471, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009663/0.001713, 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.009/1.009, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.111, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.8148/0.8148, allocations: 88.08 MB / 332.2 MB, free: 14.13 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05843/0.8732, allocations: 32.94 MB / 365.2 MB, free: 13.37 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_5,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_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.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 366.5 MB, free: 12.04 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.091e-05, allocations: 3.625 kB / 366.5 MB, free: 12.04 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001711/0.001732, allocations: 1.478 MB / 368 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006084/0.002341, allocations: 0.5494 MB / 368.5 MB, free: 9.996 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.002377, allocations: 0 / 368.5 MB, free: 9.996 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.002409, allocations: 7.922 kB / 368.6 MB, free: 9.988 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.002591, allocations: 67.67 kB / 368.6 MB, free: 9.922 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.799e-05/0.002659, allocations: 39.75 kB / 368.7 MB, free: 9.883 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.002842, allocations: 207.5 kB / 368.9 MB, free: 9.68 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.002878, allocations: 4.188 kB / 368.9 MB, free: 9.676 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.003055, allocations: 120.4 kB / 369 MB, free: 9.559 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.003206, allocations: 87.81 kB / 369.1 MB, free: 9.473 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.003229, allocations: 8 kB / 369.1 MB, free: 9.465 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.003329, allocations: 35.91 kB / 369.1 MB, free: 9.43 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.003404, allocations: 59.84 kB / 369.2 MB, free: 9.371 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.003449, allocations: 39.94 kB / 369.2 MB, free: 9.332 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.003612, allocations: 127.6 kB / 369.3 MB, free: 9.207 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.003623, allocations: 0 / 369.3 MB, free: 9.207 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003624, allocations: 0 / 369.3 MB, free: 9.207 MB / 362.8 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.003633, allocations: 0 / 369.3 MB, free: 9.207 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005249/0.004158, allocations: 412.7 kB / 369.7 MB, free: 8.777 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.00419, allocations: 8.031 kB / 369.7 MB, free: 8.77 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.004232, allocations: 20.92 kB / 369.8 MB, free: 8.75 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.004377, allocations: 153.4 kB / 369.9 MB, free: 8.574 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.004387, allocations: 8.609 kB / 369.9 MB, free: 8.566 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.004419, allocations: 20.08 kB / 369.9 MB, free: 8.547 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.004566, allocations: 114.3 kB / 370.1 MB, free: 8.43 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004573, allocations: 4 kB / 370.1 MB, free: 8.426 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.004589, allocations: 8 kB / 370.1 MB, free: 8.418 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.004594, allocations: 0 / 370.1 MB, free: 8.418 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.004677, allocations: 44.66 kB / 370.1 MB, free: 8.375 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.004876, allocations: 123.5 kB / 370.2 MB, free: 8.238 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005458/0.005422, allocations: 216 kB / 370.4 MB, free: 8.016 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.005494, allocations: 44.84 kB / 370.5 MB, free: 7.969 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-05/0.005582, allocations: 15.98 kB / 370.5 MB, free: 7.953 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.005608, allocations: 38.56 kB / 370.5 MB, free: 7.906 MB / 362.8 MB Notification: Performance of pre-optimization done (n=28): time 1.272e-06/0.005609, allocations: 0 / 370.5 MB, free: 7.906 MB / 362.8 MB Notification: Performance of matching and sorting (n=28): time 0.0002993/0.005909, allocations: 174.2 kB / 370.7 MB, free: 7.73 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.005937, allocations: 55.41 kB / 370.8 MB, free: 7.664 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.006015, allocations: 132.7 kB / 370.9 MB, free: 7.523 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.006036, allocations: 29.7 kB / 370.9 MB, free: 7.488 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.006063, allocations: 88.62 kB / 371 MB, free: 7.398 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.006149, allocations: 111 kB / 371.1 MB, free: 7.289 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.22e-05/0.006231, allocations: 61.98 kB / 371.2 MB, free: 7.219 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.006323, allocations: 326.8 kB / 371.5 MB, free: 6.891 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.006391, allocations: 47.45 kB / 371.5 MB, free: 6.844 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.006454, allocations: 41.83 kB / 371.6 MB, free: 6.805 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.006623, allocations: 124.6 kB / 371.7 MB, free: 6.68 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.006626, allocations: 0 / 371.7 MB, free: 6.68 MB / 362.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002256/0.006852, allocations: 161.4 kB / 371.9 MB, free: 6.516 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.006866, allocations: 8 kB / 371.9 MB, free: 6.508 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.006874, allocations: 7.938 kB / 371.9 MB, free: 6.5 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.006888, allocations: 0 / 371.9 MB, free: 6.5 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.007229, allocations: 109.7 kB / 372 MB, free: 6.395 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007234, allocations: 7.984 kB / 372 MB, free: 6.387 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.007302, allocations: 23.78 kB / 372 MB, free: 6.363 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.007319, allocations: 8 kB / 372 MB, free: 6.355 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 (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.085e-05/0.0074, allocations: 124.6 kB / 372.1 MB, free: 6.223 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.007436, allocations: 23.92 kB / 372.2 MB, free: 6.199 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.007788, allocations: 220.1 kB / 372.4 MB, free: 5.98 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.007792, allocations: 4 kB / 372.4 MB, free: 5.977 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007794, allocations: 0 / 372.4 MB, free: 5.977 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.007801, allocations: 4 kB / 372.4 MB, free: 5.973 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.007983, allocations: 149.7 kB / 372.5 MB, free: 5.809 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007985, allocations: 0 / 372.5 MB, free: 5.809 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.008353, allocations: 121.2 kB / 372.7 MB, free: 5.691 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.008412, allocations: 35.77 kB / 372.7 MB, free: 5.656 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008415, allocations: 8 kB / 372.7 MB, free: 5.648 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.008443, allocations: 15.98 kB / 372.7 MB, free: 5.633 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.008445, allocations: 0 / 372.7 MB, free: 5.633 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008445, allocations: 0 / 372.7 MB, free: 5.633 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.008812, allocations: 297.5 kB / 373 MB, free: 5.32 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.008844, allocations: 11.98 kB / 373 MB, free: 5.309 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.008905, allocations: 4 kB / 373 MB, free: 5.305 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.008944, allocations: 23.95 kB / 373 MB, free: 5.281 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.00896, allocations: 11.94 kB / 373.1 MB, free: 5.27 MB / 362.8 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.008984, allocations: 26.86 kB / 373.1 MB, free: 5.242 MB / 362.8 MB Notification: Performance of sort global known variables: time 8e-08/0.008984, allocations: 4 kB / 373.1 MB, free: 5.238 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002127/0.009197, allocations: 68 kB / 373.2 MB, free: 5.172 MB / 362.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.0001342/0.009331, allocations: 104.3 kB / 373.3 MB, free: 5.059 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.009558, allocations: 148.9 kB / 373.4 MB, free: 4.91 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.009567, allocations: 4 kB / 373.4 MB, free: 4.906 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.009706, allocations: 116.6 kB / 373.5 MB, free: 4.789 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.009973, allocations: 282.8 kB / 373.8 MB, free: 4.465 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.01231, allocations: 480.7 kB / 374.3 MB, free: 3.969 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.629e-05/0.01238, allocations: 92.67 kB / 374.4 MB, free: 3.855 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.000111/0.01249, allocations: 45.84 kB / 374.4 MB, free: 3.812 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.01266, allocations: 99.36 kB / 374.5 MB, free: 3.715 MB / 362.8 MB Notification: Performance of SimCode: time 8.01e-07/0.01266, allocations: 4 kB / 374.5 MB, free: 3.711 MB / 362.8 MB Notification: Performance of Templates: time 0.006417/0.01908, allocations: 3.669 MB / 378.2 MB, free: 160 kB / 362.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 -ignoreHideResult -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","",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: 3.746812963858247]