Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.001667/0.001667, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.001898/0.001898, allocations: 213.1 kB / 24.48 MB, free: 3.93 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.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.004/1.004, allocations: 120.6 MB / 435.2 MB, free: 0.6523 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.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [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.002053/0.002053, allocations: 67.89 kB / 0.6079 GB, free: 10.29 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.151, allocations: 85.86 MB / 0.6917 GB, free: 4.215 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001581/0.1526, allocations: 416.4 kB / 0.6921 GB, free: 3.812 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004865/0.1531, allocations: 223.8 kB / 0.6923 GB, free: 3.594 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.1531, allocations: 0 / 0.6923 GB, free: 3.594 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.1531, allocations: 0 / 0.6923 GB, free: 3.594 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1532, allocations: 11.88 kB / 0.6924 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.1534, allocations: 27.91 kB / 0.6924 GB, free: 3.555 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.531e-05/0.1534, allocations: 8 kB / 0.6924 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.1535, allocations: 7.984 kB / 0.6924 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.1535, allocations: 4 kB / 0.6924 GB, free: 3.535 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.1535, allocations: 11.88 kB / 0.6924 GB, free: 3.523 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1535, allocations: 0 / 0.6924 GB, free: 3.523 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.845e-05/0.1536, allocations: 23.97 kB / 0.6924 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.1536, allocations: 3.984 kB / 0.6924 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.1537, allocations: 8 kB / 0.6924 GB, free: 3.488 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1538, allocations: 35.83 kB / 0.6925 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1538, allocations: 0 / 0.6925 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1538, allocations: 0 / 0.6925 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.1538, allocations: 0 / 0.6925 GB, free: 3.453 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003647/0.1541, allocations: 250.3 kB / 0.6927 GB, free: 3.176 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1542, allocations: 8.031 kB / 0.6927 GB, free: 3.168 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.1542, allocations: 4.938 kB / 0.6927 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1543, allocations: 110.5 kB / 0.6928 GB, free: 3.031 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.1543, allocations: 384 / 0.6928 GB, free: 3.031 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1543, allocations: 4.375 kB / 0.6928 GB, free: 3.027 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.017e-05/0.1544, allocations: 34.25 kB / 0.6929 GB, free: 2.988 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1544, allocations: 192 / 0.6929 GB, free: 2.988 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1545, allocations: 3.938 kB / 0.6929 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1545, allocations: 0 / 0.6929 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.1545, allocations: 19.92 kB / 0.6929 GB, free: 2.965 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.1547, allocations: 101.3 kB / 0.693 GB, free: 2.836 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1549, allocations: 42.67 kB / 0.693 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.1549, allocations: 12.88 kB / 0.693 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.1549, allocations: 4 kB / 0.6931 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1549, allocations: 30.56 kB / 0.6931 GB, free: 2.727 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1549, allocations: 0 / 0.6931 GB, free: 2.727 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001585/0.1551, allocations: 57.56 kB / 0.6931 GB, free: 2.664 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1551, allocations: 55.41 kB / 0.6932 GB, free: 2.598 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.1552, allocations: 101.8 kB / 0.6933 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1552, allocations: 25.7 kB / 0.6933 GB, free: 2.457 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.1553, allocations: 80.14 kB / 0.6934 GB, free: 2.375 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1553, allocations: 15.84 kB / 0.6934 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1553, allocations: 13.72 kB / 0.6934 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1555, allocations: 318.8 kB / 0.6937 GB, free: 2.02 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.1555, allocations: 4 kB / 0.6937 GB, free: 2.016 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.1555, allocations: 4 kB / 0.6937 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.1555, allocations: 33.06 kB / 0.6938 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1555, allocations: 0 / 0.6938 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.779e-05/0.1556, allocations: 49.67 kB / 0.6938 GB, free: 1.922 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1556, allocations: 12.12 kB / 0.6938 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1556, allocations: 0 / 0.6938 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1557, allocations: 3.938 kB / 0.6938 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.1557, allocations: 4 kB / 0.6938 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1557, allocations: 0 / 0.6938 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.1557, allocations: 4 kB / 0.6938 GB, free: 1.898 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1557, allocations: 0 / 0.6938 GB, free: 1.898 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 (4): * Single equations (assignments): 4 * 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 7.58e-05/0.1558, allocations: 109.8 kB / 0.6939 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.1558, allocations: 11.98 kB / 0.6939 GB, free: 1.77 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.156, allocations: 69.31 kB / 0.694 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.156, allocations: 3.938 kB / 0.694 GB, free: 1.688 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.156, allocations: 0 / 0.694 GB, free: 1.688 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.156, allocations: 0 / 0.694 GB, free: 1.688 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.822e-05/0.1561, allocations: 117.3 kB / 0.6941 GB, free: 1.543 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1561, allocations: 4 kB / 0.6941 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.1561, allocations: 8 kB / 0.6941 GB, free: 1.531 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1561, allocations: 0 / 0.6941 GB, free: 1.531 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.1562, allocations: 0 / 0.6941 GB, free: 1.531 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1562, allocations: 7.984 kB / 0.6941 GB, free: 1.523 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1562, allocations: 3.938 kB / 0.6941 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1563, allocations: 101.1 kB / 0.6942 GB, free: 1.402 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.1563, allocations: 4.031 kB / 0.6942 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.1563, allocations: 0 / 0.6942 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.1564, allocations: 0 / 0.6942 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.1564, allocations: 7.922 kB / 0.6943 GB, free: 1.391 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1564, allocations: 7.938 kB / 0.6943 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.1564, allocations: 79.28 kB / 0.6943 GB, free: 1.305 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.1564, allocations: 0 / 0.6943 GB, free: 1.305 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001982/0.1566, allocations: 11.94 kB / 0.6944 GB, free: 1.293 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0001417/0.1568, allocations: 115.3 kB / 0.6945 GB, free: 1.168 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.1569, allocations: 23.92 kB / 0.6945 GB, free: 1.145 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1569, allocations: 0 / 0.6945 GB, free: 1.145 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.876e-05/0.1569, allocations: 16 kB / 0.6945 GB, free: 1.129 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.157, allocations: 4 kB / 0.6945 GB, free: 1.125 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.1573, allocations: 163.2 kB / 0.6947 GB, free: 0.9336 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.26e-05/0.1574, allocations: 63.34 kB / 0.6947 GB, free: 0.8516 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.1574, allocations: 7.438 kB / 0.6947 GB, free: 0.8438 MB / 0.5139 GB Notification: Performance of SimCode: time 3.01e-07/0.1574, allocations: 0 / 0.6947 GB, free: 0.8438 MB / 0.5139 GB Notification: Performance of Templates: time 0.002301/0.1597, allocations: 0.742 MB / 0.6954 GB, free: 104 kB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.072259611915797]