Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001321/0.001321, allocations: 109 kB / 21.18 MB, free: 0.7656 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.001532/0.001532, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 8 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 0.9836/0.9836, allocations: 120.6 MB / 435.3 MB, free: 0.8438 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_noopt_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_noopt_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.002082/0.002082, allocations: 70.22 kB / 0.608 GB, free: 10.46 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1582, allocations: 85.85 MB / 0.6918 GB, free: 4.398 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001521/0.1597, allocations: 408.5 kB / 0.6922 GB, free: 4.004 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.1599, allocations: 31.88 kB / 0.6922 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.1599, allocations: 0 / 0.6922 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.16, allocations: 0 / 0.6922 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.16, allocations: 0 / 0.6922 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.1601, allocations: 7.984 kB / 0.6922 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 3.971e-05/0.1602, allocations: 0 / 0.6922 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.1602, allocations: 7.938 kB / 0.6922 GB, free: 3.957 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.1602, allocations: 8 kB / 0.6923 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.065e-05/0.1603, allocations: 3.984 kB / 0.6923 GB, free: 3.945 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.1603, allocations: 3.938 kB / 0.6923 GB, free: 3.941 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.979e-05/0.1604, allocations: 7.984 kB / 0.6923 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.1604, allocations: 7.938 kB / 0.6923 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.1604, allocations: 0 / 0.6923 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 7.187e-05/0.1605, allocations: 11.98 kB / 0.6923 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1605, allocations: 0 / 0.6923 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1605, allocations: 0 / 0.6923 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1605, allocations: 4 kB / 0.6923 GB, free: 3.91 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.0002705/0.1607, allocations: 234.4 kB / 0.6925 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1608, allocations: 12.03 kB / 0.6925 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.1608, allocations: 4.922 kB / 0.6925 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.614e-05/0.1609, allocations: 102.5 kB / 0.6926 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-06/0.1609, allocations: 384 / 0.6926 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1609, allocations: 4.375 kB / 0.6926 GB, free: 3.504 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.205e-05/0.161, allocations: 30.27 kB / 0.6927 GB, free: 3.469 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.161, allocations: 192 / 0.6927 GB, free: 3.469 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.161, allocations: 7.938 kB / 0.6927 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.161, allocations: 0 / 0.6927 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.161, allocations: 11.92 kB / 0.6927 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.1612, allocations: 124.8 kB / 0.6928 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.1612, allocations: 18.61 kB / 0.6928 GB, free: 3.258 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.1613, allocations: 12.92 kB / 0.6928 GB, free: 3.242 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.1614, allocations: 11.92 kB / 0.6928 GB, free: 3.23 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1615, allocations: 34.56 kB / 0.6929 GB, free: 3.188 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1615, allocations: 0 / 0.6929 GB, free: 3.188 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.1616, allocations: 53.56 kB / 0.6929 GB, free: 3.129 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1616, allocations: 51.41 kB / 0.693 GB, free: 3.066 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/0.1617, allocations: 89.86 kB / 0.6931 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1617, allocations: 25.7 kB / 0.6931 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.1617, allocations: 80.14 kB / 0.6932 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1618, allocations: 12.02 kB / 0.6932 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.1618, allocations: 13.72 kB / 0.6932 GB, free: 2.824 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1619, allocations: 314.8 kB / 0.6935 GB, free: 2.508 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.1619, allocations: 4 kB / 0.6935 GB, free: 2.504 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.162, allocations: 3.984 kB / 0.6935 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.162, allocations: 8.859 kB / 0.6935 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.162, allocations: 0 / 0.6935 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.537e-05/0.162, allocations: 45.7 kB / 0.6935 GB, free: 2.438 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1621, allocations: 8 kB / 0.6936 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1621, allocations: 3.938 kB / 0.6936 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1621, allocations: 3.938 kB / 0.6936 GB, free: 2.422 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.1621, allocations: 4 kB / 0.6936 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1621, allocations: 0 / 0.6936 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.1621, allocations: 3.984 kB / 0.6936 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.1621, allocations: 0 / 0.6936 GB, free: 2.414 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 6.985e-05/0.1622, allocations: 105.8 kB / 0.6937 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.1622, allocations: 8.031 kB / 0.6937 GB, free: 2.293 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.872e-05/0.1623, allocations: 52.67 kB / 0.6937 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1623, allocations: 4 kB / 0.6937 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1623, allocations: 0 / 0.6937 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1623, allocations: 0 / 0.6937 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.137e-05/0.1624, allocations: 116.8 kB / 0.6938 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1624, allocations: 4 kB / 0.6938 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.1624, allocations: 4 kB / 0.6938 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1625, allocations: 0 / 0.6938 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1625, allocations: 7.969 kB / 0.6939 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1625, allocations: 7.984 kB / 0.6939 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1625, allocations: 0 / 0.6939 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.994e-05/0.1625, allocations: 65.03 kB / 0.6939 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.1625, allocations: 0 / 0.6939 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1626, allocations: 7.938 kB / 0.6939 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.1626, allocations: 3.984 kB / 0.6939 GB, free: 1.957 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.1626, allocations: 3.938 kB / 0.6939 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1626, allocations: 4.031 kB / 0.6939 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.156e-05/0.1626, allocations: 75.28 kB / 0.694 GB, free: 1.875 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1626, allocations: 0 / 0.694 GB, free: 1.875 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001788/0.1628, allocations: 8 kB / 0.694 GB, free: 1.867 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.0001112/0.1629, allocations: 95.23 kB / 0.6941 GB, free: 1.762 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.163, allocations: 11.98 kB / 0.6941 GB, free: 1.75 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.163, allocations: 0 / 0.6941 GB, free: 1.75 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.163, allocations: 8.062 kB / 0.6941 GB, free: 1.742 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.1631, allocations: 1.875 kB / 0.6941 GB, free: 1.742 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.1633, allocations: 114.6 kB / 0.6942 GB, free: 1.598 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1636, 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.005e-05/0.1636, allocations: 7.438 kB / 0.6949 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of SimCode: time 3.31e-07/0.1636, allocations: 0 / 0.6949 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of Templates: time 0.002093/0.1657, allocations: 440.6 kB / 0.6953 GB, free: 472 kB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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: 7.904531304957345]