Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.000993/0.000993, allocations: 80.31 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.0009483/0.0009483, allocations: 162.5 kB / 25.61 MB, free: 8.461 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.8815/0.8815, allocations: 177.2 MB / 206.1 MB, free: 4.453 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.6606/0.6606, allocations: 88.08 MB / 350.7 MB, free: 11.75 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.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.017e-06/4.017e-06, allocations: 4 kB / 452.8 MB, free: 8.027 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.293e-05, allocations: 9.062 kB / 452.8 MB, free: 8.02 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001461/0.001494, allocations: 407 kB / 453.2 MB, free: 7.625 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004272/0.001921, allocations: 171.6 kB / 453.4 MB, free: 7.457 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.00195, allocations: 0 / 453.4 MB, free: 7.457 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.001967, allocations: 7.938 kB / 453.4 MB, free: 7.449 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.002021, allocations: 0 / 453.4 MB, free: 7.449 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.002178, allocations: 15.98 kB / 453.4 MB, free: 7.434 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 4.62e-05/0.002225, allocations: 0 / 453.4 MB, free: 7.434 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.002271, allocations: 12 kB / 453.4 MB, free: 7.422 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.0023, allocations: 3.984 kB / 453.4 MB, free: 7.418 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.002348, allocations: 3.984 kB / 453.4 MB, free: 7.414 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.002361, allocations: 0 / 453.4 MB, free: 7.414 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.076e-05/0.002432, allocations: 27.86 kB / 453.5 MB, free: 7.387 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.002446, allocations: 0 / 453.5 MB, free: 7.387 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 1.156e-05/0.002458, allocations: 0 / 453.5 MB, free: 7.387 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 8.341e-05/0.002541, allocations: 23.91 kB / 453.5 MB, free: 7.363 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002543, allocations: 4 kB / 453.5 MB, free: 7.359 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.002544, allocations: 0 / 453.5 MB, free: 7.359 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.002548, allocations: 0 / 453.5 MB, free: 7.359 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002445/0.002792, allocations: 340.4 kB / 453.8 MB, free: 6.988 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.002829, allocations: 8.031 kB / 453.8 MB, free: 6.98 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.002856, allocations: 4.938 kB / 453.8 MB, free: 6.977 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.605e-05/0.002922, allocations: 104.6 kB / 453.9 MB, free: 6.848 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.002933, allocations: 384 / 453.9 MB, free: 6.848 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.002938, allocations: 384 / 453.9 MB, free: 6.848 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.541e-05/0.003004, allocations: 34.27 kB / 454 MB, free: 6.809 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.00301, allocations: 192 / 454 MB, free: 6.809 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.003016, allocations: 4.375 kB / 454 MB, free: 6.805 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.003022, allocations: 384 / 454 MB, free: 6.805 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.003051, allocations: 19.84 kB / 454 MB, free: 6.785 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.003157, allocations: 93.27 kB / 454.1 MB, free: 6.668 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.003207, allocations: 27.09 kB / 454.1 MB, free: 6.629 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.003222, allocations: 7.688 kB / 454.1 MB, free: 6.617 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.003363, allocations: 16.05 kB / 454.1 MB, free: 6.602 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.003387, allocations: 33.39 kB / 454.2 MB, free: 6.559 MB / 426.8 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.003389, allocations: 4 kB / 454.2 MB, free: 6.555 MB / 426.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001087/0.003497, allocations: 41.58 kB / 454.2 MB, free: 6.508 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.003528, allocations: 51.41 kB / 454.3 MB, free: 6.445 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.293e-05/0.003571, allocations: 146.2 kB / 454.4 MB, free: 6.289 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.003581, allocations: 29.7 kB / 454.4 MB, free: 6.254 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.003613, allocations: 126.9 kB / 454.6 MB, free: 6.125 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.003643, allocations: 8.297 kB / 454.6 MB, free: 6.117 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.003674, allocations: 23.36 kB / 454.6 MB, free: 6.086 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.003803, allocations: 496.1 kB / 455.1 MB, free: 5.59 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.003813, allocations: 0 / 455.1 MB, free: 5.59 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/0.003822, allocations: 8.125 kB / 455.1 MB, free: 5.582 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.003855, allocations: 11.69 kB / 455.1 MB, free: 5.566 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.003857, allocations: 0 / 455.1 MB, free: 5.566 MB / 426.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.372e-05/0.003921, allocations: 41.62 kB / 455.1 MB, free: 5.52 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.003933, allocations: 4 kB / 455.1 MB, free: 5.516 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.003937, allocations: 0 / 455.1 MB, free: 5.516 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.003949, allocations: 0 / 455.1 MB, free: 5.516 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.003999, allocations: 8 kB / 455.1 MB, free: 5.508 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004001, allocations: 0 / 455.1 MB, free: 5.508 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.004014, allocations: 96 / 455.1 MB, free: 5.508 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.004018, allocations: 4 kB / 455.1 MB, free: 5.504 MB / 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 (2): * Single equations (assignments): 2 * 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.119e-05/0.004089, allocations: 160.5 kB / 455.3 MB, free: 5.336 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.004099, allocations: 3.984 kB / 455.3 MB, free: 5.332 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.194e-05/0.004191, allocations: 44.8 kB / 455.4 MB, free: 5.281 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.004193, allocations: 0 / 455.4 MB, free: 5.281 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004194, allocations: 0 / 455.4 MB, free: 5.281 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.004197, allocations: 0 / 455.4 MB, free: 5.281 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.503e-05/0.004273, allocations: 109.1 kB / 455.5 MB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.004275, allocations: 4 kB / 455.5 MB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.004307, allocations: 8.031 kB / 455.5 MB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.00431, allocations: 0 / 455.5 MB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-06/0.004314, allocations: 0 / 455.5 MB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.004316, allocations: 0 / 455.5 MB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.004317, allocations: 0 / 455.5 MB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.008e-05/0.004397, allocations: 76.38 kB / 455.5 MB, free: 5.039 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-06/0.004402, allocations: 4 kB / 455.5 MB, free: 5.035 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-06/0.004409, allocations: 0 / 455.5 MB, free: 5.035 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.004419, allocations: 3.938 kB / 455.6 MB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.004433, allocations: 3.938 kB / 455.6 MB, free: 5.027 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.004438, allocations: 8.031 kB / 455.6 MB, free: 5.02 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.303e-05/0.004471, allocations: 119.2 kB / 455.7 MB, free: 4.902 MB / 426.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.004471, allocations: 0 / 455.7 MB, free: 4.902 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001885/0.00466, allocations: 4 kB / 455.7 MB, free: 4.898 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001139/0.004773, allocations: 103.2 kB / 455.8 MB, free: 4.789 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 6.796e-05/0.004841, allocations: 11.69 kB / 455.8 MB, free: 4.773 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.004843, allocations: 0 / 455.8 MB, free: 4.773 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.004855, allocations: 11.69 kB / 455.8 MB, free: 4.758 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.00498, allocations: 8.062 kB / 455.8 MB, free: 4.75 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001744/0.005154, allocations: 101.3 kB / 455.9 MB, free: 4.621 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.946e-05/0.005183, allocations: 51.36 kB / 456 MB, free: 4.551 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.385e-05/0.005207, allocations: 0 / 456 MB, free: 4.551 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.005243, allocations: 70.2 kB / 456 MB, free: 4.48 MB / 426.8 MB Notification: Performance of SimCode: time 7.71e-07/0.005244, allocations: 0 / 456 MB, free: 4.48 MB / 426.8 MB Notification: Performance of Templates: time 0.002241/0.007485, allocations: 413 kB / 456.4 MB, free: 4.078 MB / 426.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_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.4518396300263703]