Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 110.5 kB / 17.06 MB, free: 5.824 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.00136/0.00136, allocations: 191.8 kB / 18 MB, free: 4.977 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.115/1.115, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.16 kB / 0.5709 GB, free: 39.66 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1715, allocations: 80.7 MB / 0.6497 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001683/0.1732, allocations: 409 kB / 0.6501 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0005121/0.1737, allocations: 219.3 kB / 0.6503 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.1738, allocations: 4 kB / 0.6503 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.1738, allocations: 0 / 0.6503 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.174, allocations: 4 kB / 0.6503 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.1741, allocations: 23.89 kB / 0.6503 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.1742, allocations: 15.94 kB / 0.6503 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.41e-05/0.1743, allocations: 0 / 0.6503 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.1743, allocations: 4 kB / 0.6503 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.1744, allocations: 15.91 kB / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1744, allocations: 4 kB / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.251e-05/0.1745, allocations: 23.98 kB / 0.6504 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.1745, allocations: 0 / 0.6504 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.1745, allocations: 7.922 kB / 0.6504 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1747, allocations: 19.97 kB / 0.6504 GB, free: 12.26 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1747, allocations: 4 kB / 0.6504 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1747, allocations: 0 / 0.6504 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.1747, allocations: 0 / 0.6504 GB, free: 12.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000407/0.1751, allocations: 323.9 kB / 0.6507 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1751, allocations: 8.031 kB / 0.6507 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.1752, allocations: 0.9375 kB / 0.6507 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1753, allocations: 176.2 kB / 0.6509 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1753, allocations: 8.312 kB / 0.6509 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1754, allocations: 384 / 0.6509 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1755, allocations: 38.25 kB / 0.6509 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1755, allocations: 192 / 0.6509 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1755, allocations: 3.938 kB / 0.651 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1755, allocations: 0 / 0.651 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.1756, allocations: 11.94 kB / 0.651 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.1757, allocations: 153.7 kB / 0.6511 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.176, allocations: 50.53 kB / 0.6512 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.176, allocations: 21 kB / 0.6512 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.176, allocations: 0 / 0.6512 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1761, allocations: 30.56 kB / 0.6512 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1761, allocations: 0 / 0.6512 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001599/0.1762, allocations: 57.53 kB / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.1763, allocations: 55.41 kB / 0.6513 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.1764, allocations: 93.8 kB / 0.6514 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1764, allocations: 29.7 kB / 0.6514 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.1764, allocations: 88.12 kB / 0.6515 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1765, allocations: 3.906 kB / 0.6515 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1765, allocations: 17.72 kB / 0.6515 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.1766, allocations: 310.8 kB / 0.6518 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.1767, allocations: 8.109 kB / 0.6518 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.566e-05/0.1767, allocations: 12 kB / 0.6519 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.1767, allocations: 16.86 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1767, allocations: 0 / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.485e-05/0.1768, allocations: 49.69 kB / 0.6519 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1768, allocations: 7.984 kB / 0.6519 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.1769, allocations: 3.938 kB / 0.6519 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1769, allocations: 4 kB / 0.6519 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.161e-05/0.1769, allocations: 7.938 kB / 0.6519 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1769, allocations: 0 / 0.6519 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.177, allocations: 3.906 kB / 0.6519 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.177, allocations: 8 kB / 0.652 GB, free: 10.46 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 (4): * Single equations (assignments): 4 * 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.401e-05/0.1771, allocations: 110.7 kB / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.1771, allocations: 0 / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.1772, allocations: 73.17 kB / 0.6521 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1772, allocations: 8 kB / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1772, allocations: 0 / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1773, allocations: 0 / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.1774, allocations: 165.6 kB / 0.6523 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1774, allocations: 0 / 0.6523 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.1775, allocations: 19.86 kB / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1775, allocations: 3.938 kB / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.1775, allocations: 3.938 kB / 0.6523 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1775, allocations: 0 / 0.6523 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1775, allocations: 3.984 kB / 0.6523 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.1777, allocations: 105 kB / 0.6524 GB, free: 9.887 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.1777, allocations: 77.17 kB / 0.6525 GB, free: 9.793 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1777, allocations: 7.938 kB / 0.6525 GB, free: 9.785 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.1778, allocations: 4 kB / 0.6525 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1778, allocations: 4.328 kB / 0.6525 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1778, allocations: 0 / 0.6525 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.1779, allocations: 83.27 kB / 0.6526 GB, free: 9.695 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1779, allocations: 3.938 kB / 0.6526 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000191/0.1781, allocations: 12 kB / 0.6526 GB, free: 9.68 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0001445/0.1782, allocations: 115.7 kB / 0.6527 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1783, allocations: 19.98 kB / 0.6527 GB, free: 9.535 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.1783, allocations: 4 kB / 0.6527 GB, free: 9.531 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.1784, allocations: 19.92 kB / 0.6528 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.1785, allocations: 4.094 kB / 0.6528 GB, free: 9.508 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.1788, allocations: 121.6 kB / 0.6529 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1791, allocations: 0.6844 MB / 0.6535 GB, free: 8.652 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.1792, allocations: 4.25 kB / 0.6536 GB, free: 8.648 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.1792, allocations: 11.44 kB / 0.6536 GB, free: 8.637 MB / 0.4983 GB Notification: Performance of SimCode: time 3.21e-07/0.1792, allocations: 0 / 0.6536 GB, free: 8.637 MB / 0.4983 GB Notification: Performance of Templates: time 0.003257/0.1825, allocations: 0.58 MB / 0.6541 GB, free: 8.07 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches