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.001653/0.001653, allocations: 76.41 kB / 21.69 MB, free: 2.855 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.001975/0.001975, allocations: 161.3 kB / 24.99 MB, free: 9.273 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 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.6234/0.6234, allocations: 88.07 MB / 349.9 MB, free: 14.28 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_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,]+.|der.Tu.[0-9,]+..|der.x.[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 2.064e-06/2.064e-06, allocations: 0 / 453.2 MB, free: 32.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.39e-05, allocations: 3.641 kB / 453.2 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.003151/0.003185, allocations: 1.421 MB / 454.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.004271, allocations: 0.5421 MB / 455.2 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.004343, allocations: 0 / 455.2 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.004447, allocations: 9.719 kB / 455.2 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.004864, allocations: 64.61 kB / 455.3 MB, free: 31 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.005017, allocations: 40.75 kB / 455.3 MB, free: 30.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.005246, allocations: 200.6 kB / 455.5 MB, free: 30.92 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.005305, allocations: 11.03 kB / 455.5 MB, free: 30.91 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.005601, allocations: 109.8 kB / 455.6 MB, free: 30.87 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.005842, allocations: 93.34 kB / 455.7 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.005884, allocations: 8.594 kB / 455.7 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.006002, allocations: 27.92 kB / 455.8 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.006128, allocations: 75.95 kB / 455.8 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.006211, allocations: 51.7 kB / 455.9 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.006498, allocations: 159.9 kB / 456 MB, free: 30.75 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.006504, allocations: 0 / 456 MB, free: 30.75 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.763e-06/0.006506, allocations: 0 / 456 MB, free: 30.75 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.006516, allocations: 0 / 456 MB, free: 30.75 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.0007593/0.007275, allocations: 0.4985 MB / 456.5 MB, free: 30.32 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.007332, allocations: 11.03 kB / 456.5 MB, free: 30.32 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.00743, allocations: 23.97 kB / 456.6 MB, free: 30.31 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.007632, allocations: 153.4 kB / 456.7 MB, free: 30.16 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.007648, allocations: 6.359 kB / 456.7 MB, free: 30.16 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.0077, allocations: 28.05 kB / 456.8 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.007931, allocations: 119 kB / 456.9 MB, free: 30.1 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.007942, allocations: 4 kB / 456.9 MB, free: 30.09 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.007963, allocations: 6.719 kB / 456.9 MB, free: 30.09 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.007973, allocations: 2.688 kB / 456.9 MB, free: 30.09 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.008125, allocations: 70.27 kB / 457 MB, free: 30.08 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.008358, allocations: 191 kB / 457.1 MB, free: 29.9 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.009043, allocations: 259.5 kB / 457.4 MB, free: 29.83 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.00913, allocations: 63.36 kB / 457.5 MB, free: 29.8 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.009246, allocations: 16.42 kB / 457.5 MB, free: 29.8 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.009267, allocations: 48.23 kB / 457.5 MB, free: 29.75 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 1.993e-06/0.009269, allocations: 3.938 kB / 457.5 MB, free: 29.74 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0003806/0.00965, allocations: 243.4 kB / 457.8 MB, free: 29.66 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.00968, allocations: 54.25 kB / 457.8 MB, free: 29.6 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.009756, allocations: 198.1 kB / 458 MB, free: 29.43 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.009771, allocations: 32.58 kB / 458 MB, free: 29.39 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.009804, allocations: 138.2 kB / 458.2 MB, free: 29.25 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.009874, allocations: 119.3 kB / 458.3 MB, free: 29.16 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.009936, allocations: 65.19 kB / 458.4 MB, free: 29.11 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.00999, allocations: 0.5037 MB / 458.9 MB, free: 28.61 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.01007, allocations: 54.06 kB / 458.9 MB, free: 28.6 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.01015, allocations: 61.38 kB / 459 MB, free: 28.59 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.01032, allocations: 152.8 kB / 459.1 MB, free: 28.53 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01033, allocations: 0 / 459.1 MB, free: 28.53 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002685/0.01059, allocations: 234.6 kB / 459.3 MB, free: 28.44 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.01061, allocations: 5.094 kB / 459.4 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.01062, allocations: 2.906 kB / 459.4 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.01063, allocations: 0 / 459.4 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.01082, allocations: 77.91 kB / 459.4 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01082, allocations: 0 / 459.4 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.594e-05/0.01088, allocations: 17.14 kB / 459.4 MB, free: 28.42 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01089, allocations: 15.36 kB / 459.5 MB, free: 28.42 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 6.974e-05/0.01096, allocations: 171.2 kB / 459.6 MB, free: 28.24 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.01099, allocations: 29.81 kB / 459.7 MB, free: 28.23 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.01139, allocations: 292.8 kB / 459.9 MB, free: 28.11 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01139, allocations: 3 kB / 459.9 MB, free: 28.11 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.0114, allocations: 6.906 kB / 460 MB, free: 28.11 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.0114, allocations: 7.219 kB / 460 MB, free: 28.11 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.01155, allocations: 216.6 kB / 460.2 MB, free: 27.91 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.01155, allocations: 0 / 460.2 MB, free: 27.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.01179, allocations: 85.52 kB / 460.3 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.0118, allocations: 2.469 kB / 460.3 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.01183, allocations: 15.83 kB / 460.3 MB, free: 27.89 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.01183, allocations: 2.094 kB / 460.3 MB, free: 27.89 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01183, allocations: 0 / 460.3 MB, free: 27.89 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.01223, allocations: 378.6 kB / 460.6 MB, free: 27.73 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.01229, allocations: 50.25 kB / 460.7 MB, free: 27.71 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.01233, allocations: 14.5 kB / 460.7 MB, free: 27.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-05/0.01239, allocations: 8 kB / 460.7 MB, free: 27.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.01242, allocations: 25.34 kB / 460.7 MB, free: 27.69 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.01244, allocations: 18.55 kB / 460.8 MB, free: 27.68 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.783e-05/0.01248, allocations: 139.2 kB / 460.9 MB, free: 27.56 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01248, allocations: 0 / 460.9 MB, free: 27.56 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002166/0.01269, allocations: 73.36 kB / 461 MB, free: 27.55 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.0001823/0.01288, allocations: 116.9 kB / 461.1 MB, free: 27.45 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.01317, allocations: 194.4 kB / 461.3 MB, free: 27.41 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01317, allocations: 0 / 461.3 MB, free: 27.41 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.01329, allocations: 120.4 kB / 461.4 MB, free: 27.38 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01351, allocations: 35.06 kB / 461.4 MB, free: 27.36 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009643/0.01448, allocations: 0.6466 MB / 462.1 MB, free: 26.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.489e-05/0.01452, allocations: 95.92 kB / 462.2 MB, free: 26.85 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000121/0.01464, allocations: 73.64 kB / 462.2 MB, free: 26.84 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.01471, allocations: 31.11 kB / 462.3 MB, free: 26.84 MB / 410.8 MB Notification: Performance of SimCode: time 9.01e-07/0.01471, allocations: 4 kB / 462.3 MB, free: 26.83 MB / 410.8 MB Notification: Performance of Templates: time 0.005158/0.01987, allocations: 3.083 MB / 465.4 MB, free: 26.5 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.260539238108322]