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.001451/0.001451, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001603/0.001603, allocations: 165 kB / 24.56 MB, free: 12 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 0.9419/0.9419, allocations: 177.1 MB / 205 MB, free: 5.605 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.5921/0.5921, allocations: 88.06 MB / 349.6 MB, free: 14.23 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.904e-06/1.904e-06, allocations: 0 / 451.5 MB, free: 33.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.174e-05, allocations: 6.25 kB / 451.5 MB, free: 33.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001271/0.001293, allocations: 399.4 kB / 451.9 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002145/0.001507, allocations: 30.69 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.001534, allocations: 0 / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.001556, allocations: 3.938 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.001615, allocations: 4 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.001779, allocations: 6.594 kB / 452 MB, free: 33.08 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.001829, allocations: 6.312 kB / 452 MB, free: 33.08 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.001868, allocations: 6.312 kB / 452 MB, free: 33.08 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.167e-05/0.0019, allocations: 0 / 452 MB, free: 33.08 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.001951, allocations: 2.594 kB / 452 MB, free: 33.08 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.001967, allocations: 0 / 452 MB, free: 33.08 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.002035, allocations: 20.56 kB / 452 MB, free: 33.07 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.002051, allocations: 0 / 452 MB, free: 33.07 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.00207, allocations: 3.375 kB / 452 MB, free: 33.07 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 9.538e-05/0.002165, allocations: 8.344 kB / 452 MB, free: 33.07 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.002167, allocations: 4 kB / 452 MB, free: 33.06 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.32e-07/0.002168, allocations: 0 / 452 MB, free: 33.06 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.002172, allocations: 0 / 452 MB, free: 33.06 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.0002417/0.002414, allocations: 340.8 kB / 452.4 MB, free: 32.7 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.002457, allocations: 11.38 kB / 452.4 MB, free: 32.7 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.002496, allocations: 4.875 kB / 452.4 MB, free: 32.7 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.393e-05/0.00255, allocations: 112.5 kB / 452.5 MB, free: 32.56 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.002563, allocations: 3.156 kB / 452.5 MB, free: 32.56 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.002572, allocations: 384 / 452.5 MB, free: 32.56 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.513e-05/0.002667, allocations: 32.34 kB / 452.5 MB, free: 32.53 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.002676, allocations: 192 / 452.5 MB, free: 32.53 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.002686, allocations: 4.375 kB / 452.5 MB, free: 32.52 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.002696, allocations: 3.25 kB / 452.5 MB, free: 32.52 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.002723, allocations: 7.938 kB / 452.5 MB, free: 32.52 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.002831, allocations: 108.4 kB / 452.6 MB, free: 32.38 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.565e-05/0.002887, allocations: 35.83 kB / 452.7 MB, free: 32.34 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.002908, allocations: 10.5 kB / 452.7 MB, free: 32.33 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.003107, allocations: 12.72 kB / 452.7 MB, free: 32.32 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.00313, allocations: 36.14 kB / 452.7 MB, free: 32.28 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.003131, allocations: 0 / 452.7 MB, free: 32.28 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001319/0.003263, allocations: 38.23 kB / 452.8 MB, free: 32.25 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.003288, allocations: 58.53 kB / 452.8 MB, free: 32.18 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.146e-05/0.003329, allocations: 142.2 kB / 453 MB, free: 32.03 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.003337, allocations: 29.7 kB / 453 MB, free: 31.99 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.608e-06/0.003347, allocations: 126.9 kB / 453.1 MB, free: 31.86 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.003375, allocations: 6.109 kB / 453.1 MB, free: 31.86 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.003397, allocations: 18.22 kB / 453.2 MB, free: 31.84 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.003442, allocations: 496.1 kB / 453.6 MB, free: 31.34 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.003455, allocations: 2.844 kB / 453.6 MB, free: 31.34 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-06/0.003464, allocations: 11.12 kB / 453.6 MB, free: 31.34 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.873e-05/0.003493, allocations: 13.44 kB / 453.7 MB, free: 31.32 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.003495, allocations: 0 / 453.7 MB, free: 31.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.065e-05/0.003536, allocations: 38.3 kB / 453.7 MB, free: 31.29 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.003547, allocations: 9.625 kB / 453.7 MB, free: 31.29 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.003552, allocations: 3.188 kB / 453.7 MB, free: 31.29 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.003564, allocations: 0 / 453.7 MB, free: 31.29 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.003612, allocations: 6.844 kB / 453.7 MB, free: 31.28 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.003617, allocations: 0 / 453.7 MB, free: 31.28 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.003e-05/0.003627, allocations: 8.266 kB / 453.7 MB, free: 31.28 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.003631, allocations: 4.094 kB / 453.7 MB, free: 31.27 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.566e-05/0.003666, allocations: 152.6 kB / 453.9 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-06/0.003671, allocations: 6.812 kB / 453.9 MB, free: 31.11 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.003736, allocations: 42.02 kB / 453.9 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.003738, allocations: 3 kB / 453.9 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.003741, allocations: 0 / 453.9 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.003743, allocations: 3.984 kB / 453.9 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.678e-05/0.00378, allocations: 114.7 kB / 454 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.003781, allocations: 0 / 454 MB, free: 30.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-06/0.00379, allocations: 11.06 kB / 454.1 MB, free: 30.92 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.003792, allocations: 0 / 454.1 MB, free: 30.92 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.003796, allocations: 0 / 454.1 MB, free: 30.92 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.003797, allocations: 0 / 454.1 MB, free: 30.92 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.003798, allocations: 0 / 454.1 MB, free: 30.92 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.64e-05/0.003834, allocations: 79.2 kB / 454.1 MB, free: 30.84 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-06/0.003838, allocations: 1.094 kB / 454.1 MB, free: 30.84 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-06/0.003845, allocations: 0 / 454.1 MB, free: 30.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.519e-06/0.00385, allocations: 2.906 kB / 454.1 MB, free: 30.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.003863, allocations: 3.234 kB / 454.1 MB, free: 30.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-06/0.003864, allocations: 4.031 kB / 454.1 MB, free: 30.83 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.22e-05/0.003876, allocations: 119.2 kB / 454.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.003876, allocations: 0 / 454.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001113/0.003988, allocations: 6.906 kB / 454.3 MB, free: 30.71 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.093e-05/0.004069, allocations: 101.7 kB / 454.4 MB, free: 30.62 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.817e-05/0.004137, allocations: 20.91 kB / 454.4 MB, free: 30.6 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.004139, allocations: 2.906 kB / 454.4 MB, free: 30.6 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 6.292e-06/0.004145, allocations: 10.53 kB / 454.4 MB, free: 30.59 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.017e-05/0.004235, allocations: 128 / 454.4 MB, free: 30.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001615/0.004397, allocations: 96.55 kB / 454.5 MB, free: 30.48 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.971e-05/0.004417, allocations: 53.95 kB / 454.5 MB, free: 30.41 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.406e-05/0.004431, allocations: 0 / 454.5 MB, free: 30.41 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/0.004444, allocations: 11.34 kB / 454.6 MB, free: 30.41 MB / 410.8 MB Notification: Performance of SimCode: time 6.31e-07/0.004445, allocations: 0 / 454.6 MB, free: 30.41 MB / 410.8 MB Notification: Performance of Templates: time 0.001676/0.006121, allocations: 324.9 kB / 454.9 MB, free: 30.34 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.5902739339508116]