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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9273/0.9273, allocations: 120.6 MB / 428.3 MB, free: 5.559 MB / 334.1 MB
"
[Timeout remaining time 179]
Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 67.89 kB / 0.5989 GB, free: 16.84 MB / 446.3 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1376, allocations: 84.69 MB / 0.6816 GB, free: 11.94 MB / 0.5139 GB
Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001429/0.139, allocations: 397 kB / 0.682 GB, free: 11.55 MB / 0.5139 GB
Notification: Performance of NFInst.instExpressions: time 0.0001946/0.1392, allocations: 39.81 kB / 0.682 GB, free: 11.51 MB / 0.5139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.1392, allocations: 0 / 0.682 GB, free: 11.51 MB / 0.5139 GB
Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.1393, allocations: 4 kB / 0.682 GB, free: 11.51 MB / 0.5139 GB
Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.1393, allocations: 0 / 0.682 GB, free: 11.51 MB / 0.5139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.1394, allocations: 11.92 kB / 0.682 GB, free: 11.5 MB / 0.5139 GB
Notification: Performance of NFFlatten.flatten: time 3.811e-05/0.1395, allocations: 0 / 0.682 GB, free: 11.5 MB / 0.5139 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.1395, allocations: 4 kB / 0.682 GB, free: 11.49 MB / 0.5139 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.37e-05/0.1395, allocations: 0 / 0.682 GB, free: 11.49 MB / 0.5139 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.1396, allocations: 0 / 0.682 GB, free: 11.49 MB / 0.5139 GB
Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.1396, allocations: 0 / 0.682 GB, free: 11.49 MB / 0.5139 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.927e-05/0.1396, allocations: 15.98 kB / 0.6821 GB, free: 11.48 MB / 0.5139 GB
Notification: Performance of NFScalarize.scalarize: time 8.906e-06/0.1396, allocations: 0 / 0.6821 GB, free: 11.48 MB / 0.5139 GB
Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.1397, allocations: 7.938 kB / 0.6821 GB, free: 11.47 MB / 0.5139 GB
Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.1397, allocations: 11.97 kB / 0.6821 GB, free: 11.46 MB / 0.5139 GB
Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1397, allocations: 0 / 0.6821 GB, free: 11.46 MB / 0.5139 GB
Notification: Performance of FrontEnd: time 1.272e-06/0.1397, allocations: 0 / 0.6821 GB, free: 11.46 MB / 0.5139 GB
Notification: Performance of Transformations before backend: time 4.839e-06/0.1397, allocations: 0 / 0.6821 GB, free: 11.46 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.0002736/0.14, allocations: 242.4 kB / 0.6823 GB, free: 11.19 MB / 0.5139 GB
Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1401, allocations: 8.031 kB / 0.6823 GB, free: 11.18 MB / 0.5139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.1401, allocations: 8.875 kB / 0.6823 GB, free: 11.17 MB / 0.5139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.44e-05/0.1402, allocations: 102.5 kB / 0.6824 GB, free: 11.05 MB / 0.5139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1402, allocations: 4.375 kB / 0.6824 GB, free: 11.04 MB / 0.5139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.1402, allocations: 4.375 kB / 0.6824 GB, free: 11.04 MB / 0.5139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/0.1403, allocations: 38.2 kB / 0.6825 GB, free: 11 MB / 0.5139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1403, allocations: 192 / 0.6825 GB, free: 11 MB / 0.5139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1403, allocations: 7.875 kB / 0.6825 GB, free: 10.99 MB / 0.5139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.1403, allocations: 0 / 0.6825 GB, free: 10.99 MB / 0.5139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.727e-05/0.1403, allocations: 4 kB / 0.6825 GB, free: 10.98 MB / 0.5139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.1404, allocations: 120.8 kB / 0.6826 GB, free: 10.82 MB / 0.5139 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.017e-05/0.1405, allocations: 22.61 kB / 0.6826 GB, free: 10.79 MB / 0.5139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.1405, allocations: 8.922 kB / 0.6826 GB, free: 10.78 MB / 0.5139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.1407, allocations: 11.98 kB / 0.6826 GB, free: 10.77 MB / 0.5139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1407, allocations: 38.5 kB / 0.6827 GB, free: 10.72 MB / 0.5139 GB
Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1407, allocations: 0 / 0.6827 GB, free: 10.72 MB / 0.5139 GB
Notification: Performance of matching and sorting (n=2): time 0.0001326/0.1409, allocations: 41.62 kB / 0.6827 GB, free: 10.68 MB / 0.5139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1409, allocations: 51.41 kB / 0.6828 GB, free: 10.61 MB / 0.5139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.293e-05/0.1409, allocations: 93.98 kB / 0.6829 GB, free: 10.51 MB / 0.5139 GB
Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.141, allocations: 29.7 kB / 0.6829 GB, free: 10.48 MB / 0.5139 GB
Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.141, allocations: 80.14 kB / 0.683 GB, free: 10.39 MB / 0.5139 GB
Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.141, allocations: 11.89 kB / 0.683 GB, free: 10.38 MB / 0.5139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.1411, allocations: 13.66 kB / 0.683 GB, free: 10.36 MB / 0.5139 GB
Notification: Performance of setup shared object (initialization): time 0.0001305/0.1412, allocations: 314.8 kB / 0.6833 GB, free: 10.05 MB / 0.5139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.1412, allocations: 0 / 0.6833 GB, free: 10.05 MB / 0.5139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.1412, allocations: 4 kB / 0.6833 GB, free: 10.04 MB / 0.5139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.1412, allocations: 24.84 kB / 0.6833 GB, free: 10.02 MB / 0.5139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1412, allocations: 0 / 0.6833 GB, free: 10.02 MB / 0.5139 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 6.637e-05/0.1413, allocations: 41.69 kB / 0.6833 GB, free: 9.969 MB / 0.5139 GB
Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1413, allocations: 4 kB / 0.6834 GB, free: 9.965 MB / 0.5139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1413, allocations: 0 / 0.6834 GB, free: 9.965 MB / 0.5139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1413, allocations: 3.938 kB / 0.6834 GB, free: 9.961 MB / 0.5139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/0.1414, allocations: 4 kB / 0.6834 GB, free: 9.957 MB / 0.5139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1414, allocations: 0 / 0.6834 GB, free: 9.957 MB / 0.5139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.1414, allocations: 0 / 0.6834 GB, free: 9.957 MB / 0.5139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1414, allocations: 8.016 kB / 0.6834 GB, free: 9.949 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.637e-05/0.1415, allocations: 109.8 kB / 0.6835 GB, free: 9.832 MB / 0.5139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.1415, allocations: 4 kB / 0.6835 GB, free: 9.828 MB / 0.5139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.1416, allocations: 52.72 kB / 0.6835 GB, free: 9.77 MB / 0.5139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1416, allocations: 0 / 0.6835 GB, free: 9.77 MB / 0.5139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1416, allocations: 0 / 0.6835 GB, free: 9.77 MB / 0.5139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1416, allocations: 0 / 0.6835 GB, free: 9.77 MB / 0.5139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.174e-05/0.1417, allocations: 120.8 kB / 0.6836 GB, free: 9.609 MB / 0.5139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1417, allocations: 4.031 kB / 0.6836 GB, free: 9.605 MB / 0.5139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.1417, allocations: 4 kB / 0.6836 GB, free: 9.602 MB / 0.5139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1417, allocations: 0 / 0.6836 GB, free: 9.602 MB / 0.5139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1417, allocations: 3.938 kB / 0.6837 GB, free: 9.598 MB / 0.5139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1417, allocations: 3.984 kB / 0.6837 GB, free: 9.594 MB / 0.5139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1417, allocations: 0 / 0.6837 GB, free: 9.594 MB / 0.5139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.961e-05/0.1418, allocations: 65.02 kB / 0.6837 GB, free: 9.512 MB / 0.5139 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.1418, allocations: 8.031 kB / 0.6837 GB, free: 9.504 MB / 0.5139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.1418, allocations: 3.938 kB / 0.6837 GB, free: 9.5 MB / 0.5139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/0.1418, allocations: 3.984 kB / 0.6837 GB, free: 9.496 MB / 0.5139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.1418, allocations: 0 / 0.6837 GB, free: 9.496 MB / 0.5139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.1418, allocations: 0 / 0.6837 GB, free: 9.496 MB / 0.5139 GB
Notification: Performance of sorting global known variables: time 3.281e-05/0.1419, allocations: 82.02 kB / 0.6838 GB, free: 9.418 MB / 0.5139 GB
Notification: Performance of sort global known variables: time 5e-08/0.1419, allocations: 0 / 0.6838 GB, free: 9.418 MB / 0.5139 GB
Notification: Performance of remove unused functions: time 0.0001753/0.142, allocations: 0 / 0.6838 GB, free: 9.418 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.0001012/0.1421, allocations: 99.19 kB / 0.6839 GB, free: 9.309 MB / 0.5139 GB
Notification: Performance of simCode: created initialization part: time 7.885e-05/0.1422, allocations: 12 kB / 0.6839 GB, free: 9.297 MB / 0.5139 GB
Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1422, allocations: 4 kB / 0.6839 GB, free: 9.293 MB / 0.5139 GB
Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.1422, allocations: 7.922 kB / 0.6839 GB, free: 9.285 MB / 0.5139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1424, allocations: 6.578 kB / 0.6839 GB, free: 9.281 MB / 0.5139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.1426, allocations: 85 kB / 0.684 GB, free: 9.172 MB / 0.5139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1429, allocations: 0.6766 MB / 0.6847 GB, free: 8.469 MB / 0.5139 GB
Notification: Performance of simCode: alias equations: time 2.39e-05/0.1429, allocations: 8.125 kB / 0.6847 GB, free: 8.461 MB / 0.5139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.1429, allocations: 7.438 kB / 0.6847 GB, free: 8.453 MB / 0.5139 GB
Notification: Performance of SimCode: time 2.51e-07/0.1429, allocations: 0 / 0.6847 GB, free: 8.453 MB / 0.5139 GB
Notification: Performance of Templates: time 0.002319/0.1453, allocations: 290.4 kB / 0.685 GB, free: 8.172 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  -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/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: 5.2957328306511045]