Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.001273/0.001273, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.001462/0.001462, allocations: 170.6 kB / 24.82 MB, free: 8.773 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.8981/0.8981, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.6152/0.6152, allocations: 88.08 MB / 349.9 MB, free: 14.17 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.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 452 MB, free: 33.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.717e-05, allocations: 5.219 kB / 452 MB, free: 33.13 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0008241/0.0008413, allocations: 398.2 kB / 452.4 MB, free: 32.91 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001551/0.0009965, allocations: 35.02 kB / 452.4 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.001021, allocations: 0 / 452.4 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.001036, allocations: 0 / 452.4 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.001085, allocations: 0 / 452.4 MB, free: 32.89 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.0012, allocations: 10.77 kB / 452.4 MB, free: 32.88 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 3.343e-05/0.001234, allocations: 6.203 kB / 452.4 MB, free: 32.88 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.001265, allocations: 10.72 kB / 452.5 MB, free: 32.87 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.894e-05/0.001294, allocations: 0 / 452.5 MB, free: 32.87 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.001333, allocations: 2.719 kB / 452.5 MB, free: 32.87 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.001343, allocations: 0 / 452.5 MB, free: 32.87 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.001389, allocations: 12.78 kB / 452.5 MB, free: 32.87 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.001398, allocations: 0 / 452.5 MB, free: 32.87 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.033e-05/0.001408, allocations: 7.312 kB / 452.5 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.191e-05/0.00147, allocations: 12.56 kB / 452.5 MB, free: 32.86 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.001472, allocations: 0 / 452.5 MB, free: 32.86 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.91e-07/0.001473, allocations: 0 / 452.5 MB, free: 32.86 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.585e-06/0.001475, allocations: 0 / 452.5 MB, free: 32.86 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001588/0.001634, allocations: 345.2 kB / 452.8 MB, free: 32.49 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.001667, allocations: 8.719 kB / 452.8 MB, free: 32.49 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.01e-05/0.001687, allocations: 3.719 kB / 452.8 MB, free: 32.49 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.36e-05/0.001721, allocations: 108.6 kB / 452.9 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.001728, allocations: 384 / 452.9 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-06/0.001734, allocations: 3.031 kB / 452.9 MB, free: 32.36 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.658e-05/0.00179, allocations: 36.19 kB / 453 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.001796, allocations: 192 / 453 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.001801, allocations: 4.375 kB / 453 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.001805, allocations: 384 / 453 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.001822, allocations: 10.72 kB / 453 MB, free: 32.31 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.809e-05/0.00189, allocations: 92.02 kB / 453.1 MB, free: 32.2 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.334e-05/0.001923, allocations: 31.64 kB / 453.1 MB, free: 32.16 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.136e-05/0.001935, allocations: 7.688 kB / 453.1 MB, free: 32.15 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.002068, allocations: 10.98 kB / 453.1 MB, free: 32.15 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.002081, allocations: 44.33 kB / 453.2 MB, free: 32.1 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.002082, allocations: 0 / 453.2 MB, free: 32.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 8.169e-05/0.002163, allocations: 31.52 kB / 453.2 MB, free: 32.07 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.002181, allocations: 58.31 kB / 453.3 MB, free: 32 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.63e-05/0.002197, allocations: 142.2 kB / 453.4 MB, free: 31.85 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.002202, allocations: 25.7 kB / 453.4 MB, free: 31.82 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.133e-05/0.002214, allocations: 130.1 kB / 453.6 MB, free: 31.69 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.002237, allocations: 6.266 kB / 453.6 MB, free: 31.69 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.002255, allocations: 19.38 kB / 453.6 MB, free: 31.66 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.749e-05/0.002292, allocations: 0.491 MB / 454.1 MB, free: 31.16 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.002297, allocations: 0 / 454.1 MB, free: 31.16 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.002302, allocations: 14.94 kB / 454.1 MB, free: 31.15 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/0.002322, allocations: 13.78 kB / 454.1 MB, free: 31.14 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.002323, allocations: 4.062 kB / 454.1 MB, free: 31.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.39e-05/0.002347, allocations: 33.83 kB / 454.1 MB, free: 31.11 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/0.002356, allocations: 5.938 kB / 454.1 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.002359, allocations: 0 / 454.1 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.002367, allocations: 2.688 kB / 454.1 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-05/0.0024, allocations: 2.531 kB / 454.2 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.002402, allocations: 3.188 kB / 454.2 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-06/0.00241, allocations: 1.547 kB / 454.2 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-06/0.002412, allocations: 0 / 454.2 MB, free: 31.11 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 (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 3.154e-05/0.002444, allocations: 167.3 kB / 454.3 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-06/0.002447, allocations: 4 kB / 454.3 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.002504, allocations: 40.55 kB / 454.4 MB, free: 30.9 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.002505, allocations: 0 / 454.4 MB, free: 30.9 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.002507, allocations: 0 / 454.4 MB, free: 30.9 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.002509, allocations: 0 / 454.4 MB, free: 30.9 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.442e-05/0.002563, allocations: 99.89 kB / 454.5 MB, free: 30.78 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.002564, allocations: 0 / 454.5 MB, free: 30.78 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-06/0.002574, allocations: 8.797 kB / 454.5 MB, free: 30.78 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.002575, allocations: 0 / 454.5 MB, free: 30.78 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-06/0.002578, allocations: 4.031 kB / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.4e-07/0.002578, allocations: 0 / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.002579, allocations: 0 / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.509e-05/0.002614, allocations: 75.48 kB / 454.5 MB, free: 30.69 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.487e-06/0.002617, allocations: 3.625 kB / 454.5 MB, free: 30.69 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-06/0.002623, allocations: 2.781 kB / 454.6 MB, free: 30.69 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-06/0.002627, allocations: 0 / 454.6 MB, free: 30.69 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-06/0.002635, allocations: 7.984 kB / 454.6 MB, free: 30.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-07/0.002636, allocations: 0 / 454.6 MB, free: 30.68 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.122e-05/0.002647, allocations: 122.1 kB / 454.7 MB, free: 30.56 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.002647, allocations: 0 / 454.7 MB, free: 30.56 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001061/0.002754, allocations: 6.844 kB / 454.7 MB, free: 30.56 MB / 410.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 6.657e-05/0.00282, allocations: 100.1 kB / 454.8 MB, free: 30.47 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 4.37e-05/0.002864, allocations: 17.27 kB / 454.8 MB, free: 30.45 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.002865, allocations: 7.875 kB / 454.8 MB, free: 30.45 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-06/0.002871, allocations: 10.34 kB / 454.8 MB, free: 30.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.166e-05/0.002952, allocations: 6.594 kB / 454.8 MB, free: 30.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001386/0.003091, allocations: 91.56 kB / 454.9 MB, free: 30.32 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.718e-05/0.003108, allocations: 54.3 kB / 455 MB, free: 30.25 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.621e-05/0.003124, allocations: 7.234 kB / 455 MB, free: 30.25 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.003145, allocations: 69.14 kB / 455 MB, free: 30.19 MB / 410.8 MB Notification: Performance of SimCode: time 3.61e-07/0.003145, allocations: 0 / 455 MB, free: 30.19 MB / 410.8 MB Notification: Performance of Templates: time 0.001582/0.004727, allocations: 332.2 kB / 455.4 MB, free: 30.12 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_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.3647870058193803]