Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001229/0.001229, allocations: 95.73 kB / 16.3 MB, free: 6.461 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.0009842/0.0009842, allocations: 172.9 kB / 17.19 MB, free: 6.348 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.329/1.329, allocations: 223.2 MB / 241.1 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7825/0.7825, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 12 kB / 0.4942 GB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1717, 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.000465/0.1722, allocations: 130.5 kB / 0.5752 GB, free: 8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003757/0.1726, allocations: 213.8 kB / 0.5754 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.1726, allocations: 0 / 0.5754 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.026e-05/0.1727, allocations: 4 kB / 0.5754 GB, free: 7.789 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.1728, allocations: 11.92 kB / 0.5754 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.977e-05/0.1729, allocations: 11.98 kB / 0.5754 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.132e-05/0.173, allocations: 11.92 kB / 0.5754 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.276e-05/0.173, allocations: 0 / 0.5754 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.365e-05/0.1731, allocations: 4 kB / 0.5754 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.1731, allocations: 3.984 kB / 0.5754 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1732, allocations: 0 / 0.5754 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.547e-05/0.1732, allocations: 19.98 kB / 0.5755 GB, free: 7.727 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.1732, allocations: 4 kB / 0.5755 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.1733, allocations: 33.64 kB / 0.5755 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.815e-05/0.1733, allocations: 19.97 kB / 0.5755 GB, free: 7.664 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1734, allocations: 0 / 0.5755 GB, free: 7.664 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1734, allocations: 0 / 0.5755 GB, free: 7.664 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.1734, allocations: 0 / 0.5755 GB, free: 7.664 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.0003434/0.1737, allocations: 323.4 kB / 0.5758 GB, free: 7.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1738, allocations: 8.031 kB / 0.5758 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.1738, allocations: 7.859 kB / 0.5758 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1739, allocations: 167.3 kB / 0.576 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1739, allocations: 8 kB / 0.576 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.174, allocations: 0 / 0.576 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1741, allocations: 37.69 kB / 0.576 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1741, allocations: 0 / 0.576 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1741, allocations: 0 / 0.576 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1741, allocations: 0 / 0.576 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.1741, allocations: 19.89 kB / 0.5761 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.1743, allocations: 153.6 kB / 0.5762 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1745, allocations: 50.59 kB / 0.5763 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.1745, allocations: 0 / 0.5763 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1746, allocations: 30.56 kB / 0.5763 GB, free: 6.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1746, allocations: 0 / 0.5763 GB, free: 6.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001467/0.1747, allocations: 57.77 kB / 0.5763 GB, free: 6.652 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.1748, allocations: 51.41 kB / 0.5764 GB, free: 6.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.682e-05/0.1748, allocations: 93.86 kB / 0.5765 GB, free: 6.488 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1748, allocations: 29.83 kB / 0.5765 GB, free: 6.453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.1749, allocations: 84.14 kB / 0.5766 GB, free: 6.367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1749, allocations: 7.812 kB / 0.5766 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-06/0.1749, allocations: 0 / 0.5766 GB, free: 6.359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1751, allocations: 322.8 kB / 0.5769 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.1751, allocations: 4 kB / 0.5769 GB, free: 6.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.1751, allocations: 7.938 kB / 0.5769 GB, free: 6.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.274e-05/0.1751, allocations: 11.98 kB / 0.5769 GB, free: 6.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1751, allocations: 0 / 0.5769 GB, free: 6.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.493e-05/0.1752, allocations: 57.62 kB / 0.577 GB, free: 5.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1752, allocations: 4 kB / 0.577 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1753, allocations: 0 / 0.577 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.1753, allocations: 0 / 0.577 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-05/0.1753, allocations: 8 kB / 0.577 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1753, allocations: 0 / 0.577 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.1754, allocations: 4 kB / 0.577 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1754, allocations: 3.938 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 7.432e-05/0.1754, allocations: 116 kB / 0.5771 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.1755, allocations: 4 kB / 0.5771 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.1756, allocations: 81.09 kB / 0.5772 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1756, allocations: 0 / 0.5772 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1756, allocations: 0 / 0.5772 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1756, allocations: 4 kB / 0.5772 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1758, allocations: 169.5 kB / 0.5774 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1758, allocations: 0 / 0.5774 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.1758, allocations: 8 kB / 0.5774 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1758, allocations: 4 kB / 0.5774 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1759, allocations: 8 kB / 0.5774 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1759, allocations: 0 / 0.5774 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1759, allocations: 0 / 0.5774 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.176, allocations: 97.06 kB / 0.5775 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.1761, allocations: 85.08 kB / 0.5775 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1761, allocations: 4 kB / 0.5775 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.1761, allocations: 3.938 kB / 0.5776 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.1761, allocations: 64 / 0.5776 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1761, allocations: 11.98 kB / 0.5776 GB, free: 5.238 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.845e-05/0.1762, allocations: 75.28 kB / 0.5776 GB, free: 5.164 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1762, allocations: 0 / 0.5776 GB, free: 5.164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001858/0.1764, allocations: 12 kB / 0.5776 GB, free: 5.152 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.0001155/0.1765, allocations: 95.25 kB / 0.5777 GB, free: 5.047 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.574e-05/0.1766, allocations: 23.98 kB / 0.5778 GB, free: 5.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1766, allocations: 0 / 0.5778 GB, free: 5.023 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.1766, allocations: 24.03 kB / 0.5778 GB, free: 5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.712e-05/0.1767, allocations: 11.88 kB / 0.5778 GB, free: 4.988 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.177, allocations: 136.9 kB / 0.5779 GB, free: 4.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1773, allocations: 0.6809 MB / 0.5786 GB, free: 4.117 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.871e-05/0.1774, allocations: 8 kB / 0.5786 GB, free: 4.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.1774, allocations: 15.36 kB / 0.5786 GB, free: 4.094 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1774, allocations: 0 / 0.5786 GB, free: 4.094 MB / 446.1 MB Notification: Performance of Templates: time 0.002455/0.1799, allocations: 0.5312 MB / 0.5791 GB, free: 3.566 MB / 446.1 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches