Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) 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.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 114.2 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.062/1.062, allocations: 119.3 MB / 411.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 57.91 kB / 0.5715 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1693, allocations: 80.7 MB / 0.6504 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001625/0.1709, allocations: 389.1 kB / 0.6507 GB, free: 12.74 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0005216/0.1715, allocations: 175.4 kB / 0.6509 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.1715, allocations: 0 / 0.6509 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.1715, allocations: 4 kB / 0.6509 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.1716, allocations: 0 / 0.6509 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.1718, allocations: 11.98 kB / 0.6509 GB, free: 12.55 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.377e-05/0.1719, allocations: 7.922 kB / 0.6509 GB, free: 12.55 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.141e-05/0.1719, allocations: 0 / 0.6509 GB, free: 12.55 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.172, allocations: 4 kB / 0.6509 GB, free: 12.54 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.172, allocations: 0 / 0.6509 GB, free: 12.54 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.172, allocations: 4 kB / 0.6509 GB, free: 12.54 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.1721, allocations: 19.92 kB / 0.6509 GB, free: 12.52 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.1721, allocations: 0 / 0.6509 GB, free: 12.52 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.1722, allocations: 0 / 0.6509 GB, free: 12.52 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.388e-05/0.1723, allocations: 19.89 kB / 0.651 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1723, allocations: 0 / 0.651 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1723, allocations: 0 / 0.651 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1723, allocations: 0 / 0.651 GB, free: 12.5 MB / 0.4983 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.0003601/0.1726, allocations: 319.6 kB / 0.6513 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1727, allocations: 15.89 kB / 0.6513 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.1727, allocations: 4.938 kB / 0.6513 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1729, allocations: 160.4 kB / 0.6514 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1729, allocations: 384 / 0.6514 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.1729, allocations: 384 / 0.6514 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.173, allocations: 34.25 kB / 0.6515 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.173, allocations: 192 / 0.6515 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.173, allocations: 3.938 kB / 0.6515 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.173, allocations: 0 / 0.6515 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.1731, allocations: 11.94 kB / 0.6515 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.1733, allocations: 149.7 kB / 0.6516 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.893e-05/0.1733, allocations: 26.56 kB / 0.6517 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.1734, allocations: 4.859 kB / 0.6517 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.1736, allocations: 85.17 kB / 0.6517 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1736, allocations: 34.55 kB / 0.6518 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1736, allocations: 4 kB / 0.6518 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.1738, allocations: 45.58 kB / 0.6518 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1738, allocations: 51.41 kB / 0.6519 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.805e-05/0.1739, allocations: 89.86 kB / 0.652 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1739, allocations: 29.7 kB / 0.652 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.1739, allocations: 80.14 kB / 0.6521 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.174, allocations: 7.844 kB / 0.6521 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.174, allocations: 17.72 kB / 0.6521 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1741, allocations: 322.9 kB / 0.6524 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.1741, allocations: 0 / 0.6524 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/0.1742, allocations: 4 kB / 0.6524 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.1742, allocations: 12.86 kB / 0.6524 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1742, allocations: 0 / 0.6524 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.656e-05/0.1743, allocations: 37.64 kB / 0.6524 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1743, allocations: 11.92 kB / 0.6525 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1743, allocations: 4 kB / 0.6525 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1743, allocations: 8.031 kB / 0.6525 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.1744, allocations: 4 kB / 0.6525 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1744, allocations: 0 / 0.6525 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.1744, allocations: 0 / 0.6525 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1744, allocations: 4 kB / 0.6525 GB, free: 10.7 MB / 0.4983 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 8.104e-05/0.1745, allocations: 111.2 kB / 0.6526 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.1745, allocations: 0 / 0.6526 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.1746, allocations: 48.75 kB / 0.6526 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1746, allocations: 7.969 kB / 0.6526 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1746, allocations: 0 / 0.6526 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.1747, allocations: 77.11 kB / 0.6527 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1747, allocations: 4 kB / 0.6527 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.1747, allocations: 0 / 0.6527 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.1747, allocations: 3.984 kB / 0.6527 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.118e-05/0.1748, allocations: 113 kB / 0.6528 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001338/0.175, allocations: 219.1 kB / 0.653 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.776e-05/0.175, allocations: 4 kB / 0.653 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.676e-05/0.175, allocations: 75.28 kB / 0.6531 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of Backend: time 2.81e-07/0.175, allocations: 0 / 0.6531 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.1754, allocations: 92.66 kB / 0.6532 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of SimCode: time 0.0003895/0.1758, allocations: 0.5291 MB / 0.6537 GB, free: 9.32 MB / 0.4983 GB Notification: Performance of Templates: time 0.00249/0.1783, allocations: 344.5 kB / 0.654 GB, free: 8.984 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches