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.0009089/0.000909, allocations: 92.53 kB / 16.3 MB, free: 5.535 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.0009424/0.0009425, allocations: 185 kB / 17.2 MB, free: 5.469 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.425/1.425, allocations: 223.2 MB / 241.1 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8583/0.8583, allocations: 120.5 MB / 412.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 8 kB / 0.4941 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1733, allocations: 82.85 MB / 0.5751 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0005228/0.1739, allocations: 118.5 kB / 0.5752 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004584/0.1743, allocations: 213.9 kB / 0.5754 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.1744, allocations: 0 / 0.5754 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.1744, allocations: 0 / 0.5754 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.1745, allocations: 7.922 kB / 0.5754 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.486e-05/0.1746, allocations: 19.92 kB / 0.5754 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.009e-05/0.1747, allocations: 11.97 kB / 0.5754 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.1748, allocations: 7.938 kB / 0.5754 GB, free: 7.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.1748, allocations: 0 / 0.5754 GB, free: 7.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.623e-05/0.1749, allocations: 7.938 kB / 0.5754 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1749, allocations: 0 / 0.5754 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.175, allocations: 27.97 kB / 0.5755 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.175, allocations: 0 / 0.5755 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.175, allocations: 25.7 kB / 0.5755 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.464e-05/0.1751, allocations: 19.97 kB / 0.5755 GB, free: 7.672 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1751, allocations: 0 / 0.5755 GB, free: 7.672 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1751, allocations: 0 / 0.5755 GB, free: 7.672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1751, allocations: 0 / 0.5755 GB, free: 7.672 MB / 446.1 MB 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.0003508/0.1755, allocations: 323.4 kB / 0.5758 GB, free: 7.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1755, allocations: 8.031 kB / 0.5758 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.1756, allocations: 11.86 kB / 0.5758 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1757, allocations: 163.4 kB / 0.576 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1757, allocations: 4 kB / 0.576 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1757, allocations: 4 kB / 0.576 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1758, allocations: 45.62 kB / 0.576 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1759, allocations: 0 / 0.576 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1759, allocations: 0 / 0.576 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1759, allocations: 0 / 0.576 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.1759, allocations: 11.94 kB / 0.576 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1761, allocations: 157.6 kB / 0.5762 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1763, allocations: 42.61 kB / 0.5762 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.1763, allocations: 0 / 0.5762 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1763, allocations: 42.56 kB / 0.5763 GB, free: 6.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.1764, allocations: 0 / 0.5763 GB, free: 6.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001447/0.1765, allocations: 45.92 kB / 0.5763 GB, free: 6.664 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1766, allocations: 55.39 kB / 0.5764 GB, free: 6.598 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.1766, allocations: 97.86 kB / 0.5765 GB, free: 6.492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1766, allocations: 25.7 kB / 0.5765 GB, free: 6.461 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.1767, allocations: 80.14 kB / 0.5766 GB, free: 6.379 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.1767, allocations: 15.81 kB / 0.5766 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-06/0.1767, allocations: 0 / 0.5766 GB, free: 6.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1769, allocations: 318.8 kB / 0.5769 GB, free: 6.043 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.1769, allocations: 8 kB / 0.5769 GB, free: 6.035 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.1769, allocations: 8.031 kB / 0.5769 GB, free: 6.027 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.1769, allocations: 16.06 kB / 0.5769 GB, free: 6.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1769, allocations: 0 / 0.5769 GB, free: 6.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.268e-05/0.177, allocations: 45.69 kB / 0.577 GB, free: 5.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.177, allocations: 8 kB / 0.577 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1771, allocations: 0 / 0.577 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1771, allocations: 7.922 kB / 0.577 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.1771, allocations: 4 kB / 0.577 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1771, allocations: 0 / 0.577 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.1772, allocations: 7.938 kB / 0.577 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1772, allocations: 3.984 kB / 0.577 GB, free: 5.93 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.301e-05/0.1773, allocations: 117.8 kB / 0.5771 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.1773, allocations: 4 kB / 0.5771 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.1774, allocations: 73.11 kB / 0.5772 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1774, allocations: 0 / 0.5772 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1774, allocations: 0 / 0.5772 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1775, allocations: 0 / 0.5772 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.1776, allocations: 169.5 kB / 0.5773 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1776, allocations: 0 / 0.5773 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.1777, allocations: 15.98 kB / 0.5774 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1777, allocations: 0 / 0.5774 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1777, allocations: 0 / 0.5774 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1777, allocations: 4 kB / 0.5774 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1777, allocations: 0 / 0.5774 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.1779, allocations: 105.1 kB / 0.5775 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.1779, allocations: 85.05 kB / 0.5775 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1779, allocations: 0 / 0.5775 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.178, allocations: 8.094 kB / 0.5775 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.178, allocations: 0 / 0.5775 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.178, allocations: 4 kB / 0.5775 GB, free: 5.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.178, allocations: 83.27 kB / 0.5776 GB, free: 5.164 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.178, allocations: 0 / 0.5776 GB, free: 5.164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.1782, allocations: 8 kB / 0.5776 GB, free: 5.156 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001234/0.1784, allocations: 95.25 kB / 0.5777 GB, free: 5.051 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.959e-05/0.1785, allocations: 31.92 kB / 0.5778 GB, free: 5.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1785, allocations: 4.094 kB / 0.5778 GB, free: 5.016 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.1785, allocations: 8 kB / 0.5778 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.1786, allocations: 11.95 kB / 0.5778 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.1789, allocations: 132.9 kB / 0.5779 GB, free: 4.836 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1792, allocations: 0.6809 MB / 0.5786 GB, free: 4.129 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.935e-05/0.1792, allocations: 8 kB / 0.5786 GB, free: 4.121 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.1792, allocations: 11.44 kB / 0.5786 GB, free: 4.109 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1793, allocations: 0 / 0.5786 GB, free: 4.109 MB / 446.1 MB Notification: Performance of Templates: time 0.002545/0.1818, allocations: 0.5383 MB / 0.5791 GB, free: 3.578 MB / 446.1 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches