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.001487/0.001487, allocations: 73.8 kB / 21.24 MB, free: 0.5547 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.001566/0.001566, allocations: 159.2 kB / 24.5 MB, free: 3.715 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.312/1.312, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 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.8239/0.8239, allocations: 88.07 MB / 349.3 MB, free: 1.383 MB / 318.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.001902/0.001902, allocations: 67.59 kB / 0.524 GB, free: 8.281 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1329, allocations: 85.86 MB / 0.6078 GB, free: 4.906 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001503/0.1344, allocations: 393.2 kB / 0.6082 GB, free: 4.523 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001732/0.1346, allocations: 27.89 kB / 0.6082 GB, free: 4.496 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.1346, allocations: 0 / 0.6082 GB, free: 4.496 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.1346, allocations: 0 / 0.6082 GB, free: 4.496 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.1347, allocations: 0 / 0.6082 GB, free: 4.496 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.1348, allocations: 11.92 kB / 0.6082 GB, free: 4.484 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 3.216e-05/0.1348, allocations: 0 / 0.6082 GB, free: 4.484 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.1349, allocations: 4 kB / 0.6082 GB, free: 4.48 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.1349, allocations: 3.938 kB / 0.6082 GB, free: 4.477 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 3.55e-05/0.1349, allocations: 0 / 0.6082 GB, free: 4.477 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.1349, allocations: 4 kB / 0.6082 GB, free: 4.473 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.135, allocations: 15.98 kB / 0.6083 GB, free: 4.457 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.135, allocations: 0 / 0.6083 GB, free: 4.457 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.135, allocations: 3.984 kB / 0.6083 GB, free: 4.453 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 6.616e-05/0.1351, allocations: 7.984 kB / 0.6083 GB, free: 4.445 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1351, allocations: 0 / 0.6083 GB, free: 4.445 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1351, allocations: 0 / 0.6083 GB, free: 4.445 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1351, allocations: 0 / 0.6083 GB, free: 4.445 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.0002646/0.1353, allocations: 242.4 kB / 0.6085 GB, free: 4.176 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1354, allocations: 11.97 kB / 0.6085 GB, free: 4.164 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.1354, allocations: 0.9375 kB / 0.6085 GB, free: 4.164 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.514e-05/0.1355, allocations: 110.5 kB / 0.6086 GB, free: 4.031 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.1355, allocations: 8.312 kB / 0.6086 GB, free: 4.023 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.1355, allocations: 4.312 kB / 0.6086 GB, free: 4.02 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.14e-05/0.1356, allocations: 34.27 kB / 0.6087 GB, free: 3.98 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1356, allocations: 192 / 0.6087 GB, free: 3.98 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1356, allocations: 3.938 kB / 0.6087 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1356, allocations: 0 / 0.6087 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.1356, allocations: 4 kB / 0.6087 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.1357, allocations: 97.31 kB / 0.6088 GB, free: 3.848 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.316e-05/0.1358, allocations: 30.61 kB / 0.6088 GB, free: 3.809 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.1358, allocations: 8.797 kB / 0.6088 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.136, allocations: 12.05 kB / 0.6088 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.136, allocations: 30.56 kB / 0.6088 GB, free: 3.746 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.136, allocations: 0 / 0.6088 GB, free: 3.746 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.000123/0.1361, allocations: 41.64 kB / 0.6089 GB, free: 3.699 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1362, allocations: 55.41 kB / 0.6089 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.363e-05/0.1362, allocations: 89.86 kB / 0.609 GB, free: 3.535 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1362, allocations: 29.69 kB / 0.609 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.1363, allocations: 80.27 kB / 0.6091 GB, free: 3.418 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.1363, allocations: 15.89 kB / 0.6091 GB, free: 3.402 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.1363, allocations: 13.72 kB / 0.6091 GB, free: 3.383 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1364, allocations: 310.8 kB / 0.6094 GB, free: 3.07 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.1364, allocations: 7.938 kB / 0.6095 GB, free: 3.062 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.1365, allocations: 0 / 0.6095 GB, free: 3.062 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.1365, allocations: 12.86 kB / 0.6095 GB, free: 3.047 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1365, allocations: 0 / 0.6095 GB, free: 3.047 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.809e-05/0.1366, allocations: 45.69 kB / 0.6095 GB, free: 2.996 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1366, allocations: 8 kB / 0.6095 GB, free: 2.988 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.1366, allocations: 4.094 kB / 0.6095 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1366, allocations: 0 / 0.6095 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.434e-05/0.1366, allocations: 7.938 kB / 0.6095 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1366, allocations: 0 / 0.6095 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.1366, allocations: 0 / 0.6095 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.1366, allocations: 0 / 0.6095 GB, free: 2.977 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.755e-05/0.1367, allocations: 117.7 kB / 0.6096 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-06/0.1367, allocations: 3.984 kB / 0.6096 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.1368, allocations: 40.86 kB / 0.6097 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1368, allocations: 11.91 kB / 0.6097 GB, free: 2.789 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1368, allocations: 0 / 0.6097 GB, free: 2.789 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.1368, allocations: 0 / 0.6097 GB, free: 2.789 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.201e-05/0.1369, allocations: 105.2 kB / 0.6098 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1369, allocations: 0 / 0.6098 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.1369, allocations: 0 / 0.6098 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1369, allocations: 4 kB / 0.6098 GB, free: 2.652 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1369, allocations: 4 kB / 0.6098 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1369, allocations: 0 / 0.6098 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1369, allocations: 3.938 kB / 0.6098 GB, free: 2.645 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.017e-05/0.137, allocations: 77 kB / 0.6099 GB, free: 2.551 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.137, allocations: 4 kB / 0.6099 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.137, allocations: 0 / 0.6099 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.137, allocations: 0 / 0.6099 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.137, allocations: 3.938 kB / 0.6099 GB, free: 2.543 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.137, allocations: 4 kB / 0.6099 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.793e-05/0.1371, allocations: 75.28 kB / 0.61 GB, free: 2.465 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.1371, allocations: 0 / 0.61 GB, free: 2.465 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001831/0.1373, allocations: 0 / 0.61 GB, free: 2.465 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 9.795e-05/0.1374, allocations: 99.23 kB / 0.6101 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 6.972e-05/0.1374, allocations: 15.97 kB / 0.6101 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1374, allocations: 4 kB / 0.6101 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 7.243e-06/0.1374, allocations: 0 / 0.6101 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.1376, allocations: 4 kB / 0.6101 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.1377, allocations: 91.59 kB / 0.6102 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.679e-05/0.1378, allocations: 55.36 kB / 0.6102 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 1.824e-05/0.1378, allocations: 0 / 0.6102 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.1378, allocations: 16.62 kB / 0.6102 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of SimCode: time 3e-07/0.1378, allocations: 0 / 0.6102 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of Templates: time 0.002104/0.1399, allocations: 276.4 kB / 0.6105 GB, free: 1.859 MB / 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 -s ida -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: 4.961279837065376]