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: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001443/0.001443, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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 1.029/1.029, allocations: 120.6 MB / 435.3 MB, free: 0.8164 MB / 334.1 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|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|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 74.23 kB / 0.608 GB, free: 10.45 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.162, allocations: 85.86 MB / 0.6918 GB, free: 4.379 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001524/0.1635, allocations: 384.7 kB / 0.6922 GB, free: 4.008 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.1637, allocations: 31.88 kB / 0.6922 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.1637, allocations: 4 kB / 0.6922 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1637, allocations: 0 / 0.6922 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/0.1638, allocations: 7.922 kB / 0.6922 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.164, allocations: 4 kB / 0.6922 GB, free: 3.961 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.164, allocations: 8 kB / 0.6922 GB, free: 3.953 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.896e-05/0.1641, allocations: 3.984 kB / 0.6922 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.737e-05/0.1641, allocations: 0 / 0.6922 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.1641, allocations: 7.984 kB / 0.6923 GB, free: 3.941 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1642, allocations: 0 / 0.6923 GB, free: 3.941 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.1642, allocations: 7.938 kB / 0.6923 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.1642, allocations: 0 / 0.6923 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.1643, allocations: 8 kB / 0.6923 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.068e-05/0.1643, allocations: 7.984 kB / 0.6923 GB, free: 3.918 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1643, allocations: 4 kB / 0.6923 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1643, allocations: 0 / 0.6923 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1643, allocations: 0 / 0.6923 GB, free: 3.914 MB / 0.5139 GB 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.0003084/0.1647, allocations: 238.4 kB / 0.6925 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1647, allocations: 8.031 kB / 0.6925 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.1647, allocations: 4.875 kB / 0.6925 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.301e-05/0.1648, allocations: 110.5 kB / 0.6926 GB, free: 3.504 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1648, allocations: 4.375 kB / 0.6926 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.1648, allocations: 384 / 0.6926 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1649, allocations: 30.27 kB / 0.6927 GB, free: 3.465 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1649, allocations: 4.125 kB / 0.6927 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.165, allocations: 3.938 kB / 0.6927 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.165, allocations: 0 / 0.6927 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.165, allocations: 11.97 kB / 0.6927 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1652, allocations: 120.7 kB / 0.6928 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.067e-05/0.1652, allocations: 34.55 kB / 0.6928 GB, free: 3.242 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.1652, allocations: 4.859 kB / 0.6928 GB, free: 3.234 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.1655, allocations: 16.03 kB / 0.6928 GB, free: 3.219 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.1655, allocations: 34.56 kB / 0.6929 GB, free: 3.176 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1655, allocations: 0 / 0.6929 GB, free: 3.176 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.1656, allocations: 45.62 kB / 0.6929 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1657, allocations: 59.47 kB / 0.693 GB, free: 3.055 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.1658, allocations: 89.86 kB / 0.6931 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1658, allocations: 29.7 kB / 0.6931 GB, free: 2.922 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.1658, allocations: 80.14 kB / 0.6932 GB, free: 2.84 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.1659, allocations: 7.891 kB / 0.6932 GB, free: 2.832 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1659, allocations: 17.72 kB / 0.6932 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1661, allocations: 310.8 kB / 0.6935 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.1661, allocations: 3.984 kB / 0.6935 GB, free: 2.492 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.127e-05/0.1661, allocations: 8 kB / 0.6935 GB, free: 2.484 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.1662, allocations: 12.86 kB / 0.6935 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1662, allocations: 0 / 0.6935 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.85e-05/0.1662, allocations: 33.7 kB / 0.6935 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1662, allocations: 4 kB / 0.6935 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1662, allocations: 3.938 kB / 0.6936 GB, free: 2.422 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1662, allocations: 3.938 kB / 0.6936 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.062e-05/0.1663, allocations: 7.984 kB / 0.6936 GB, free: 2.41 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1663, allocations: 0 / 0.6936 GB, free: 2.41 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.1663, allocations: 4.094 kB / 0.6936 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.1663, allocations: 4 kB / 0.6936 GB, free: 2.402 MB / 0.5139 GB 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 8.227e-05/0.1664, allocations: 109.8 kB / 0.6937 GB, free: 2.285 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-06/0.1664, allocations: 0 / 0.6937 GB, free: 2.285 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.1666, allocations: 52.73 kB / 0.6937 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1666, allocations: 0 / 0.6937 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1666, allocations: 0 / 0.6937 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1666, allocations: 0 / 0.6937 GB, free: 2.227 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.1667, allocations: 120.8 kB / 0.6938 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1667, allocations: 0 / 0.6938 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.1667, allocations: 11.92 kB / 0.6939 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1667, allocations: 0 / 0.6939 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1667, allocations: 7.875 kB / 0.6939 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1667, allocations: 0 / 0.6939 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1667, allocations: 3.938 kB / 0.6939 GB, free: 2.043 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.268e-05/0.1668, allocations: 65.09 kB / 0.6939 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.1668, allocations: 8.016 kB / 0.6939 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1668, allocations: 3.938 kB / 0.6939 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.347e-05/0.1668, allocations: 4 kB / 0.6939 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.1669, allocations: 0 / 0.6939 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.1669, allocations: 4 kB / 0.6939 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.1669, allocations: 75.28 kB / 0.694 GB, free: 1.867 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.1669, allocations: 0 / 0.694 GB, free: 1.867 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001947/0.1671, allocations: 4 kB / 0.694 GB, free: 1.863 MB / 0.5139 GB 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.0001352/0.1672, allocations: 95.25 kB / 0.6941 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.155e-05/0.1673, allocations: 15.92 kB / 0.6941 GB, free: 1.742 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1673, allocations: 0 / 0.6941 GB, free: 1.742 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.1673, allocations: 8 kB / 0.6941 GB, free: 1.734 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.1675, allocations: 0 / 0.6941 GB, free: 1.734 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.1677, allocations: 106.7 kB / 0.6942 GB, free: 1.598 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.168, allocations: 0.6768 MB / 0.6949 GB, free: 0.8945 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.168, allocations: 11.56 kB / 0.6949 GB, free: 0.8828 MB / 0.5139 GB Notification: Performance of SimCode: time 3.3e-07/0.168, allocations: 4 kB / 0.6949 GB, free: 0.8789 MB / 0.5139 GB Notification: Performance of Templates: time 0.002277/0.1703, allocations: 435.3 kB / 0.6953 GB, free: 468 kB / 0.5139 GB " [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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.01167371403426]