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.001467/0.001467, allocations: 84.33 kB / 21.18 MB, free: 3.395 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.001468/0.001468, allocations: 165 kB / 24.56 MB, free: 24 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.007/1.007, allocations: 177.1 MB / 205 MB, free: 5.609 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.6918/0.6918, allocations: 88.09 MB / 349.6 MB, free: 14.29 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 1.242e-06/1.242e-06, allocations: 0 / 453.3 MB, free: 32.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.666e-05, allocations: 2.312 kB / 453.3 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.0021/0.002117, allocations: 1.422 MB / 454.7 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.002946, allocations: 0.5389 MB / 455.2 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.00299, allocations: 0 / 455.2 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.569e-05/0.003076, allocations: 11.11 kB / 455.3 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.00342, allocations: 64.34 kB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.003532, allocations: 47.28 kB / 455.4 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.00373, allocations: 197.8 kB / 455.6 MB, free: 30.97 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.003772, allocations: 13.77 kB / 455.6 MB, free: 30.96 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.00398, allocations: 101.9 kB / 455.7 MB, free: 30.93 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.004146, allocations: 86.06 kB / 455.8 MB, free: 30.91 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.004178, allocations: 12.34 kB / 455.8 MB, free: 30.91 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.00428, allocations: 41.59 kB / 455.8 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.004383, allocations: 74.33 kB / 455.9 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.00445, allocations: 52.09 kB / 455.9 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.004657, allocations: 151 kB / 456.1 MB, free: 30.81 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004659, allocations: 2.688 kB / 456.1 MB, free: 30.81 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00466, allocations: 0 / 456.1 MB, free: 30.81 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.004665, allocations: 0 / 456.1 MB, free: 30.81 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.0006602/0.005325, allocations: 0.4987 MB / 456.6 MB, free: 30.38 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.005369, allocations: 8.312 kB / 456.6 MB, free: 30.38 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.005443, allocations: 30.53 kB / 456.6 MB, free: 30.36 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.005635, allocations: 155.1 kB / 456.8 MB, free: 30.21 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.005651, allocations: 7.516 kB / 456.8 MB, free: 30.21 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.005699, allocations: 20.45 kB / 456.8 MB, free: 30.2 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.005916, allocations: 122 kB / 456.9 MB, free: 30.15 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.005926, allocations: 7.938 kB / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.005946, allocations: 6.875 kB / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.005955, allocations: 2.844 kB / 456.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.006119, allocations: 69.92 kB / 457 MB, free: 30.13 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.006359, allocations: 183.7 kB / 457.2 MB, free: 29.96 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.007129, allocations: 265.9 kB / 457.4 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.007264, allocations: 57.42 kB / 457.5 MB, free: 29.86 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.007414, allocations: 22.39 kB / 457.5 MB, free: 29.86 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.007436, allocations: 41.33 kB / 457.6 MB, free: 29.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.007438, allocations: 2.875 kB / 457.6 MB, free: 29.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0005427/0.007981, allocations: 250.7 kB / 457.8 MB, free: 29.72 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.008007, allocations: 54.22 kB / 457.9 MB, free: 29.66 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.008104, allocations: 190.8 kB / 458 MB, free: 29.48 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.008124, allocations: 32.61 kB / 458.1 MB, free: 29.45 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.008163, allocations: 138.2 kB / 458.2 MB, free: 29.31 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.008257, allocations: 119.4 kB / 458.3 MB, free: 29.22 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.008352, allocations: 69.59 kB / 458.4 MB, free: 29.17 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.008412, allocations: 0.5004 MB / 458.9 MB, free: 28.67 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.008539, allocations: 57 kB / 459 MB, free: 28.66 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.008659, allocations: 60.45 kB / 459 MB, free: 28.64 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.008935, allocations: 149.3 kB / 459.2 MB, free: 28.59 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.008938, allocations: 0 / 459.2 MB, free: 28.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004087/0.009347, allocations: 238.5 kB / 459.4 MB, free: 28.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.009363, allocations: 5.688 kB / 459.4 MB, free: 28.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.009369, allocations: 0 / 459.4 MB, free: 28.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.009388, allocations: 6.125 kB / 459.4 MB, free: 28.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.009663, allocations: 72.72 kB / 459.5 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.00967, allocations: 2.812 kB / 459.5 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.29e-05/0.009763, allocations: 16.95 kB / 459.5 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.00979, allocations: 19.27 kB / 459.5 MB, free: 28.47 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 7.475e-05/0.009864, allocations: 167.1 kB / 459.7 MB, free: 28.3 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.00991, allocations: 29.22 kB / 459.7 MB, free: 28.28 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005856/0.0105, allocations: 294.4 kB / 460 MB, free: 28.17 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.0105, allocations: 2.844 kB / 460 MB, free: 28.17 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01051, allocations: 4 kB / 460 MB, free: 28.16 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.01052, allocations: 6 kB / 460 MB, free: 28.16 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.01076, allocations: 208.4 kB / 460.2 MB, free: 27.97 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.01077, allocations: 6.281 kB / 460.2 MB, free: 27.97 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.01116, allocations: 79.8 kB / 460.3 MB, free: 27.96 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.01116, allocations: 5.812 kB / 460.3 MB, free: 27.96 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.0112, allocations: 13.03 kB / 460.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.0112, allocations: 2.562 kB / 460.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01121, allocations: 0 / 460.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.01182, allocations: 385.6 kB / 460.7 MB, free: 27.79 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.01192, allocations: 46.61 kB / 460.7 MB, free: 27.77 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.01196, allocations: 20.36 kB / 460.8 MB, free: 27.76 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.679e-05/0.01206, allocations: 6.531 kB / 460.8 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.01211, allocations: 22.23 kB / 460.8 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.01213, allocations: 14.19 kB / 460.8 MB, free: 27.75 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.038e-05/0.01218, allocations: 143.5 kB / 460.9 MB, free: 27.62 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01218, allocations: 0 / 460.9 MB, free: 27.62 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003076/0.01249, allocations: 76.09 kB / 461 MB, free: 27.61 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.0001491/0.01264, allocations: 121 kB / 461.1 MB, free: 27.51 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.01301, allocations: 189.7 kB / 461.3 MB, free: 27.46 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01302, allocations: 0 / 461.3 MB, free: 27.46 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.01319, allocations: 123.2 kB / 461.4 MB, free: 27.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.01347, allocations: 42.55 kB / 461.5 MB, free: 27.41 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.01465, allocations: 0.6295 MB / 462.1 MB, free: 26.99 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.01471, allocations: 93.97 kB / 462.2 MB, free: 26.92 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.01489, allocations: 78.25 kB / 462.3 MB, free: 26.9 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.01499, allocations: 35.27 kB / 462.3 MB, free: 26.89 MB / 410.8 MB Notification: Performance of SimCode: time 9.62e-07/0.01499, allocations: 4 kB / 462.3 MB, free: 26.89 MB / 410.8 MB Notification: Performance of Templates: time 0.006363/0.02136, allocations: 3.091 MB / 465.4 MB, free: 26.55 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.432281155139208]