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.001547/0.001547, allocations: 100.4 kB / 21.18 MB, free: 0.6562 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.001754/0.001754, allocations: 208.3 kB / 24.48 MB, free: 3.957 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.42/1.42, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.042/1.042, allocations: 120.6 MB / 435.2 MB, free: 0.6758 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.001962/0.001962, allocations: 75.83 kB / 0.6079 GB, free: 10.3 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1592, allocations: 85.86 MB / 0.6917 GB, free: 4.234 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001455/0.1606, allocations: 396.5 kB / 0.6921 GB, free: 3.852 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002289/0.1609, allocations: 35.88 kB / 0.6921 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.1609, allocations: 0 / 0.6921 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.1609, allocations: 0 / 0.6921 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.1609, allocations: 7.938 kB / 0.6921 GB, free: 3.809 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.1611, allocations: 3.938 kB / 0.6922 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.893e-05/0.1611, allocations: 8 kB / 0.6922 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.1612, allocations: 0 / 0.6922 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.568e-05/0.1612, allocations: 0 / 0.6922 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.1613, allocations: 11.92 kB / 0.6922 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.1613, allocations: 0 / 0.6922 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.586e-05/0.1613, allocations: 8 kB / 0.6922 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.1613, allocations: 0 / 0.6922 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.1613, allocations: 0 / 0.6922 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.492e-05/0.1614, allocations: 19.97 kB / 0.6922 GB, free: 3.758 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1614, allocations: 0 / 0.6922 GB, free: 3.758 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1614, allocations: 0 / 0.6922 GB, free: 3.758 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.1614, allocations: 0 / 0.6922 GB, free: 3.758 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.0002911/0.1617, allocations: 238.4 kB / 0.6924 GB, free: 3.492 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1618, allocations: 8.031 kB / 0.6924 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.1618, allocations: 4.938 kB / 0.6924 GB, free: 3.48 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.495e-05/0.1619, allocations: 102.5 kB / 0.6925 GB, free: 3.355 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1619, allocations: 8.375 kB / 0.6925 GB, free: 3.348 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1619, allocations: 384 / 0.6925 GB, free: 3.348 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.86e-05/0.162, allocations: 34.2 kB / 0.6926 GB, free: 3.309 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.162, allocations: 192 / 0.6926 GB, free: 3.309 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.162, allocations: 11.86 kB / 0.6926 GB, free: 3.297 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.162, allocations: 0 / 0.6926 GB, free: 3.297 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.1621, allocations: 7.984 kB / 0.6926 GB, free: 3.289 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.1622, allocations: 101.3 kB / 0.6927 GB, free: 3.16 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.1623, allocations: 18.61 kB / 0.6927 GB, free: 3.133 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.1623, allocations: 4.922 kB / 0.6927 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.1625, allocations: 19.98 kB / 0.6927 GB, free: 3.105 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1625, allocations: 38.5 kB / 0.6928 GB, free: 3.059 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.1625, allocations: 0 / 0.6928 GB, free: 3.059 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.1626, allocations: 41.62 kB / 0.6928 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1627, allocations: 55.41 kB / 0.6929 GB, free: 2.945 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.1627, allocations: 89.86 kB / 0.6929 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1628, allocations: 25.7 kB / 0.693 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.1628, allocations: 80.14 kB / 0.693 GB, free: 2.734 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1628, allocations: 11.89 kB / 0.6931 GB, free: 2.723 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.1628, allocations: 13.84 kB / 0.6931 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.163, allocations: 314.8 kB / 0.6934 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.163, allocations: 4 kB / 0.6934 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.163, allocations: 3.984 kB / 0.6934 GB, free: 2.379 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.1631, allocations: 16.8 kB / 0.6934 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1631, allocations: 3.938 kB / 0.6934 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.859e-05/0.1631, allocations: 37.7 kB / 0.6934 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1631, allocations: 4 kB / 0.6934 GB, free: 2.309 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1631, allocations: 0 / 0.6934 GB, free: 2.309 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1631, allocations: 4.094 kB / 0.6934 GB, free: 2.305 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.1632, allocations: 11.94 kB / 0.6935 GB, free: 2.293 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1632, allocations: 0 / 0.6935 GB, free: 2.293 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.1632, allocations: 3.984 kB / 0.6935 GB, free: 2.289 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1632, allocations: 4 kB / 0.6935 GB, free: 2.285 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 7.385e-05/0.1633, allocations: 105.8 kB / 0.6936 GB, free: 2.172 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-06/0.1633, allocations: 0 / 0.6936 GB, free: 2.172 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.1634, allocations: 52.73 kB / 0.6936 GB, free: 2.113 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1634, allocations: 3.938 kB / 0.6936 GB, free: 2.109 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1634, allocations: 4.031 kB / 0.6936 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1634, allocations: 0 / 0.6936 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.95e-05/0.1635, allocations: 101.3 kB / 0.6937 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1635, allocations: 3.938 kB / 0.6937 GB, free: 1.973 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.1635, allocations: 4 kB / 0.6937 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1635, allocations: 0 / 0.6937 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.1635, allocations: 0 / 0.6937 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1635, allocations: 0 / 0.6937 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1635, allocations: 3.938 kB / 0.6937 GB, free: 1.965 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.234e-05/0.1636, allocations: 73.02 kB / 0.6938 GB, free: 1.875 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-06/0.1636, allocations: 4.031 kB / 0.6938 GB, free: 1.871 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.1636, allocations: 0 / 0.6938 GB, free: 1.871 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.1637, allocations: 0 / 0.6938 GB, free: 1.871 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.1637, allocations: 11.92 kB / 0.6938 GB, free: 1.859 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.1637, allocations: 0 / 0.6938 GB, free: 1.859 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.1637, allocations: 75.28 kB / 0.6939 GB, free: 1.785 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.1637, allocations: 0 / 0.6939 GB, free: 1.785 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001844/0.1639, allocations: 4 kB / 0.6939 GB, free: 1.781 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.0001244/0.164, allocations: 95.25 kB / 0.694 GB, free: 1.676 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.1641, allocations: 12 kB / 0.694 GB, free: 1.664 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1641, allocations: 0 / 0.694 GB, free: 1.664 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.1641, allocations: 7.938 kB / 0.694 GB, free: 1.656 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.1642, allocations: 3.984 kB / 0.694 GB, free: 1.652 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.1644, allocations: 110.7 kB / 0.6941 GB, free: 1.512 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.742e-05/0.1645, allocations: 55.36 kB / 0.6942 GB, free: 1.438 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.1645, allocations: 15.42 kB / 0.6942 GB, free: 1.422 MB / 0.5139 GB Notification: Performance of SimCode: time 3.31e-07/0.1645, allocations: 0 / 0.6942 GB, free: 1.422 MB / 0.5139 GB Notification: Performance of Templates: time 0.001836/0.1664, allocations: 434.1 kB / 0.6946 GB, free: 1 MB / 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.880923843942583]