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.001027/0.001027, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001012/0.001012, allocations: 165.9 kB / 24.99 MB, free: 8.336 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.9809/0.9809, 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.5754/0.5754, allocations: 88.08 MB / 349.9 MB, free: 14.32 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 1.393e-06/1.393e-06, allocations: 0 / 451.5 MB, free: 33.44 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.308e-05, allocations: 3.078 kB / 451.5 MB, free: 33.44 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0008003/0.0008133, allocations: 401.6 kB / 451.9 MB, free: 33.22 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.0009767, allocations: 27.62 kB / 452 MB, free: 33.2 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.001002, allocations: 0 / 452 MB, free: 33.2 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.001017, allocations: 0 / 452 MB, free: 33.2 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/0.001075, allocations: 2.812 kB / 452 MB, free: 33.2 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.001225, allocations: 10.78 kB / 452 MB, free: 33.2 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.993e-05/0.001275, allocations: 3.188 kB / 452 MB, free: 33.2 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.001314, allocations: 2.656 kB / 452 MB, free: 33.2 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.001343, allocations: 7.922 kB / 452 MB, free: 33.19 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.001397, allocations: 2.312 kB / 452 MB, free: 33.19 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.001411, allocations: 4 kB / 452 MB, free: 33.18 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.725e-05/0.001468, allocations: 8.688 kB / 452 MB, free: 33.18 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.001478, allocations: 0 / 452 MB, free: 33.18 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.001493, allocations: 3.375 kB / 452 MB, free: 33.18 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.015e-05/0.001573, allocations: 16.44 kB / 452 MB, free: 33.18 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.001575, allocations: 0 / 452 MB, free: 33.18 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.12e-07/0.001576, allocations: 0 / 452 MB, free: 33.18 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.00158, allocations: 2.844 kB / 452 MB, free: 33.18 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.0001956/0.001776, allocations: 338.3 kB / 452.3 MB, free: 32.81 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.001814, allocations: 11.69 kB / 452.4 MB, free: 32.81 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.001851, allocations: 4.938 kB / 452.4 MB, free: 32.81 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.19e-05/0.001893, allocations: 108.6 kB / 452.5 MB, free: 32.68 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.001903, allocations: 3.156 kB / 452.5 MB, free: 32.68 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.001911, allocations: 384 / 452.5 MB, free: 32.68 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.001992, allocations: 32.39 kB / 452.5 MB, free: 32.64 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.001999, allocations: 4.172 kB / 452.5 MB, free: 32.64 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.002007, allocations: 384 / 452.5 MB, free: 32.64 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.002014, allocations: 384 / 452.5 MB, free: 32.64 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.00204, allocations: 10.84 kB / 452.5 MB, free: 32.63 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.167e-05/0.002132, allocations: 118.6 kB / 452.6 MB, free: 32.49 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.002178, allocations: 32.84 kB / 452.7 MB, free: 32.45 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.002195, allocations: 7.688 kB / 452.7 MB, free: 32.44 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.002371, allocations: 11.12 kB / 452.7 MB, free: 32.44 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.002387, allocations: 40.23 kB / 452.7 MB, free: 32.39 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.002388, allocations: 0 / 452.7 MB, free: 32.39 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001177/0.002506, allocations: 41.61 kB / 452.8 MB, free: 32.36 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.002527, allocations: 51.41 kB / 452.8 MB, free: 32.29 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.658e-05/0.002543, allocations: 142.2 kB / 453 MB, free: 32.14 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-06/0.002549, allocations: 25.7 kB / 453 MB, free: 32.11 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-06/0.002558, allocations: 127 kB / 453.1 MB, free: 31.98 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.002583, allocations: 14.27 kB / 453.1 MB, free: 31.97 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.002604, allocations: 18.31 kB / 453.1 MB, free: 31.95 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.928e-05/0.002644, allocations: 496.1 kB / 453.6 MB, free: 31.45 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.002653, allocations: 6.078 kB / 453.6 MB, free: 31.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.002659, allocations: 0 / 453.6 MB, free: 31.45 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.015e-05/0.002689, allocations: 21.5 kB / 453.6 MB, free: 31.43 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.002691, allocations: 0 / 453.6 MB, free: 31.43 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.561e-05/0.002727, allocations: 38.17 kB / 453.7 MB, free: 31.4 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.002739, allocations: 9.266 kB / 453.7 MB, free: 31.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.002744, allocations: 4.094 kB / 453.7 MB, free: 31.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.002755, allocations: 0 / 453.7 MB, free: 31.39 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.072e-05/0.002795, allocations: 2.75 kB / 453.7 MB, free: 31.39 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.002801, allocations: 0 / 453.7 MB, free: 31.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-06/0.00281, allocations: 9.422 kB / 453.7 MB, free: 31.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.002814, allocations: 2.938 kB / 453.7 MB, free: 31.39 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.671e-05/0.002851, allocations: 156.6 kB / 453.9 MB, free: 31.22 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-06/0.002855, allocations: 2.938 kB / 453.9 MB, free: 31.22 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.002927, allocations: 47.28 kB / 453.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.002928, allocations: 4.031 kB / 453.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.002932, allocations: 0 / 453.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.002936, allocations: 3 kB / 453.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.918e-05/0.002975, allocations: 108.6 kB / 454 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.002976, allocations: 0 / 454 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-06/0.002984, allocations: 5.75 kB / 454 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.002986, allocations: 2.812 kB / 454 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.002992, allocations: 0 / 454 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.002993, allocations: 0 / 454 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.002994, allocations: 0 / 454 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.325e-05/0.003037, allocations: 80.48 kB / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-06/0.003041, allocations: 7 kB / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-06/0.003049, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-06/0.003054, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.00307, allocations: 2.781 kB / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.003072, allocations: 0 / 454.1 MB, free: 30.95 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.213e-05/0.003084, allocations: 119.2 kB / 454.2 MB, free: 30.83 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003084, allocations: 0 / 454.2 MB, free: 30.83 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001259/0.00321, allocations: 6.078 kB / 454.2 MB, free: 30.83 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 8.989e-05/0.0033, allocations: 105.6 kB / 454.4 MB, free: 30.73 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.709e-05/0.003367, allocations: 17.66 kB / 454.4 MB, free: 30.71 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.003369, allocations: 0.6562 kB / 454.4 MB, free: 30.71 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.304e-06/0.003376, allocations: 15.94 kB / 454.4 MB, free: 30.7 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.609e-05/0.003473, allocations: 2.938 kB / 454.4 MB, free: 30.7 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.003656, allocations: 93.33 kB / 454.5 MB, free: 30.59 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.149e-05/0.003677, allocations: 54.64 kB / 454.5 MB, free: 30.52 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.927e-05/0.003697, allocations: 6.906 kB / 454.5 MB, free: 30.52 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.00371, allocations: 8.5 kB / 454.5 MB, free: 30.52 MB / 410.8 MB Notification: Performance of SimCode: time 5.61e-07/0.003711, allocations: 0 / 454.5 MB, free: 30.52 MB / 410.8 MB Notification: Performance of Templates: time 0.00161/0.005321, allocations: 307.6 kB / 454.8 MB, free: 30.46 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.5452530190814286]