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.0009814/0.0009814, allocations: 93.41 kB / 16.32 MB, free: 6.008 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.0009901/0.0009901, allocations: 189.5 kB / 17.21 MB, free: 5.902 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.477/1.477, allocations: 223.2 MB / 241.2 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.9612/0.9612, allocations: 120.4 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 12 kB / 0.4943 GB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1778, allocations: 82.85 MB / 0.5752 GB, free: 8.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0005137/0.1784, allocations: 122.5 kB / 0.5753 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004972/0.1789, allocations: 205.9 kB / 0.5755 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.179, allocations: 0 / 0.5755 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.179, allocations: 3.938 kB / 0.5755 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1791, allocations: 11.98 kB / 0.5755 GB, free: 7.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.1793, allocations: 15.97 kB / 0.5755 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.545e-05/0.1793, allocations: 11.94 kB / 0.5755 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.1794, allocations: 3.938 kB / 0.5755 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.1794, allocations: 4 kB / 0.5755 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.1795, allocations: 11.92 kB / 0.5755 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1795, allocations: 0 / 0.5755 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/0.1796, allocations: 19.98 kB / 0.5756 GB, free: 7.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1796, allocations: 3.984 kB / 0.5756 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.1797, allocations: 25.7 kB / 0.5756 GB, free: 7.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.851e-05/0.1797, allocations: 19.98 kB / 0.5756 GB, free: 7.648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1798, allocations: 4 kB / 0.5756 GB, free: 7.645 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1798, allocations: 0 / 0.5756 GB, free: 7.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1798, allocations: 3.938 kB / 0.5756 GB, free: 7.641 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.0003891/0.1802, allocations: 319.4 kB / 0.5759 GB, free: 7.281 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1802, allocations: 12.03 kB / 0.5759 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.1803, allocations: 7.859 kB / 0.5759 GB, free: 7.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1804, allocations: 163.3 kB / 0.5761 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1804, allocations: 0 / 0.5761 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.1805, allocations: 8 kB / 0.5761 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1806, allocations: 41.62 kB / 0.5761 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1806, allocations: 0 / 0.5761 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1806, allocations: 0 / 0.5761 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1806, allocations: 0 / 0.5761 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.357e-05/0.1807, allocations: 11.95 kB / 0.5762 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.1809, allocations: 153.6 kB / 0.5763 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.1811, allocations: 42.61 kB / 0.5763 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.1812, allocations: 20.94 kB / 0.5764 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1812, allocations: 0 / 0.5764 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1812, allocations: 34.56 kB / 0.5764 GB, free: 6.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1812, allocations: 0 / 0.5764 GB, free: 6.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001594/0.1814, allocations: 45.69 kB / 0.5764 GB, free: 6.629 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1815, allocations: 51.41 kB / 0.5765 GB, free: 6.566 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/0.1815, allocations: 101.8 kB / 0.5766 GB, free: 6.457 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1816, allocations: 25.83 kB / 0.5766 GB, free: 6.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.1816, allocations: 92.06 kB / 0.5767 GB, free: 6.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1816, allocations: 15.81 kB / 0.5767 GB, free: 6.316 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.1817, allocations: 0 / 0.5767 GB, free: 6.316 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1818, allocations: 310.8 kB / 0.577 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.1818, allocations: 7.938 kB / 0.577 GB, free: 5.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.1818, allocations: 11.98 kB / 0.577 GB, free: 5.984 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.1819, allocations: 4 kB / 0.577 GB, free: 5.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1819, allocations: 0 / 0.577 GB, free: 5.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.808e-05/0.182, allocations: 49.97 kB / 0.5771 GB, free: 5.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.182, allocations: 12 kB / 0.5771 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.182, allocations: 0 / 0.5771 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.182, allocations: 4.031 kB / 0.5771 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/0.1821, allocations: 4 kB / 0.5771 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1821, allocations: 4 kB / 0.5771 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.1821, allocations: 0 / 0.5771 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1821, allocations: 7.938 kB / 0.5771 GB, free: 5.895 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.943e-05/0.1822, allocations: 109.8 kB / 0.5772 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.1823, allocations: 4 kB / 0.5772 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.1824, allocations: 73.17 kB / 0.5773 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1825, allocations: 0 / 0.5773 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1825, allocations: 3.938 kB / 0.5773 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1825, allocations: 0 / 0.5773 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1826, allocations: 173.5 kB / 0.5775 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1826, allocations: 0 / 0.5775 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.1827, allocations: 8 kB / 0.5775 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1827, allocations: 0 / 0.5775 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1827, allocations: 12.06 kB / 0.5775 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1827, allocations: 0 / 0.5775 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/0.1827, allocations: 7.922 kB / 0.5775 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.1829, allocations: 97.08 kB / 0.5776 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.183, allocations: 81.05 kB / 0.5777 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.183, allocations: 0 / 0.5777 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.183, allocations: 4.031 kB / 0.5777 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.183, allocations: 3.984 kB / 0.5777 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-06/0.1831, allocations: 8.062 kB / 0.5777 GB, free: 5.211 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.785e-05/0.1831, allocations: 75.28 kB / 0.5777 GB, free: 5.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1831, allocations: 3.938 kB / 0.5777 GB, free: 5.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.1833, allocations: 12 kB / 0.5778 GB, free: 5.121 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.0001622/0.1835, allocations: 103.2 kB / 0.5779 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.1836, allocations: 23.94 kB / 0.5779 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1836, allocations: 0 / 0.5779 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.1836, allocations: 15.98 kB / 0.5779 GB, free: 4.969 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.1838, allocations: 16.05 kB / 0.5779 GB, free: 4.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.1841, allocations: 132.9 kB / 0.578 GB, free: 4.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1844, allocations: 0.6809 MB / 0.5787 GB, free: 4.086 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.202e-05/0.1845, allocations: 4 kB / 0.5787 GB, free: 4.082 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.1845, allocations: 19.42 kB / 0.5787 GB, free: 4.062 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1845, allocations: 0 / 0.5787 GB, free: 4.062 MB / 446.1 MB Notification: Performance of Templates: time 0.002737/0.1872, allocations: 0.5343 MB / 0.5792 GB, free: 3.535 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