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.001342/0.001342, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001534/0.001534, allocations: 170 kB / 24.91 MB, free: 9.195 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.8127/0.8127, allocations: 88.08 MB / 349.9 MB, free: 14.14 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.655e-06/2.655e-06, allocations: 0 / 398.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.916e-05, allocations: 3.297 kB / 398.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0009804/0.0009995, allocations: 401.8 kB / 399.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001863/0.001186, allocations: 31.89 kB / 399.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.001214, allocations: 0 / 399.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.001229, allocations: 0 / 399.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.001302, allocations: 3.938 kB / 399.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.001492, allocations: 15.92 kB / 399.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.001544, allocations: 4 kB / 399.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.001589, allocations: 0 / 399.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.001631, allocations: 0 / 399.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.001698, allocations: 4 kB / 399.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.001714, allocations: 0 / 399.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.787e-05/0.001792, allocations: 11.98 kB / 399.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.001809, allocations: 0 / 399.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.001824, allocations: 0 / 399.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.203e-05/0.001916, allocations: 19.97 kB / 399.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.001918, allocations: 0 / 399.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.001918, allocations: 0 / 399.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.001923, allocations: 0 / 399.2 MB, free: 13.16 MB / 378.7 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.000257/0.00218, allocations: 216.6 kB / 399.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.002227, allocations: 12.03 kB / 399.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.002255, allocations: 0.9375 kB / 399.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.641e-05/0.002332, allocations: 109.7 kB / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.002345, allocations: 4.375 kB / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.002355, allocations: 4.375 kB / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.403e-05/0.002439, allocations: 30.27 kB / 399.6 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.002449, allocations: 4.172 kB / 399.6 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.002459, allocations: 4.375 kB / 399.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.002465, allocations: 384 / 399.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.00249, allocations: 3.938 kB / 399.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.002599, allocations: 57.05 kB / 399.7 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.287e-05/0.002652, allocations: 26.55 kB / 399.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.00267, allocations: 12.92 kB / 399.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.002853, allocations: 11.97 kB / 399.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.002879, allocations: 38.56 kB / 399.8 MB, free: 12.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.00288, allocations: 0 / 399.8 MB, free: 12.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 9.771e-05/0.002978, allocations: 33.69 kB / 399.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.003013, allocations: 55.41 kB / 399.9 MB, free: 12.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.075e-05/0.003043, allocations: 89.86 kB / 399.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.003054, allocations: 25.7 kB / 400 MB, free: 12.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.003079, allocations: 80.14 kB / 400 MB, free: 12.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.003114, allocations: 9.047 kB / 400.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.003136, allocations: 17.72 kB / 400.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.003226, allocations: 314.8 kB / 400.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/0.003235, allocations: 4 kB / 400.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.003241, allocations: 0 / 400.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.00327, allocations: 12.84 kB / 400.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.003273, allocations: 0 / 400.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.797e-05/0.003311, allocations: 37.7 kB / 400.4 MB, free: 11.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.003323, allocations: 4 kB / 400.4 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.003326, allocations: 0 / 400.4 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.003337, allocations: 4.094 kB / 400.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-05/0.003385, allocations: 11.92 kB / 400.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.003388, allocations: 0 / 400.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-06/0.003398, allocations: 0 / 400.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.003402, allocations: 3.938 kB / 400.5 MB, free: 11.79 MB / 378.7 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 6.139e-05/0.003463, allocations: 113.8 kB / 400.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-06/0.003467, allocations: 0 / 400.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/0.003536, allocations: 36.84 kB / 400.6 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.003539, allocations: 7.984 kB / 400.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.003542, allocations: 4.031 kB / 400.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.003546, allocations: 0 / 400.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.908e-05/0.003605, allocations: 73.77 kB / 400.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.003607, allocations: 4 kB / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-06/0.003615, allocations: 0 / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.003616, allocations: 0 / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-06/0.00362, allocations: 0 / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.00362, allocations: 4 kB / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.003621, allocations: 3.938 kB / 400.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.698e-05/0.003668, allocations: 61.06 kB / 400.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.003673, allocations: 8.031 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-06/0.00368, allocations: 0 / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-06/0.003685, allocations: 3.984 kB / 400.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.003698, allocations: 4 kB / 400.8 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.0037, allocations: 0 / 400.8 MB, free: 11.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.217e-06/0.003709, allocations: 4.859 kB / 400.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.003709, allocations: 0 / 400.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 9.954e-05/0.003809, allocations: 4 kB / 400.8 MB, free: 11.41 MB / 378.7 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 9.852e-05/0.003908, allocations: 76.42 kB / 400.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.841e-05/0.003966, allocations: 24.78 kB / 400.9 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.003968, allocations: 0 / 400.9 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.373e-06/0.003975, allocations: 8.859 kB / 400.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.998e-05/0.004025, allocations: 5.797 kB / 400.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.0042, allocations: 76.44 kB / 401 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.004229, allocations: 63.2 kB / 401 MB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.552e-05/0.004245, allocations: 0 / 401 MB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.004272, allocations: 51.5 kB / 401.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.004273, allocations: 0 / 401.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of Templates: time 0.001758/0.006031, allocations: 345 kB / 401.4 MB, free: 10.74 MB / 378.7 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.3820604127831757]