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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 190.4 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 105.9 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8973/0.8973, allocations: 119.3 MB / 460.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 55.25 kB / 0.5391 GB, free: 43.2 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1631, allocations: 80.69 MB / 0.6179 GB, free: 12.75 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001818/0.165, allocations: 468.5 kB / 0.6184 GB, free: 12.29 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004849/0.1655, allocations: 231.6 kB / 0.6186 GB, free: 12.07 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.1655, allocations: 8 kB / 0.6186 GB, free: 12.06 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.1656, allocations: 0 / 0.6186 GB, free: 12.06 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.1657, allocations: 0 / 0.6186 GB, free: 12.06 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.862e-05/0.1658, allocations: 19.92 kB / 0.6186 GB, free: 12.04 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.1659, allocations: 15.92 kB / 0.6186 GB, free: 12.02 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.166, allocations: 0 / 0.6186 GB, free: 12.02 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.166, allocations: 4 kB / 0.6186 GB, free: 12.02 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.1661, allocations: 7.984 kB / 0.6186 GB, free: 12.01 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1661, allocations: 4 kB / 0.6186 GB, free: 12.01 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1662, allocations: 19.98 kB / 0.6187 GB, free: 11.99 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.1662, allocations: 7.938 kB / 0.6187 GB, free: 11.98 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.1663, allocations: 0 / 0.6187 GB, free: 11.98 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1664, allocations: 27.89 kB / 0.6187 GB, free: 11.95 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1664, allocations: 0 / 0.6187 GB, free: 11.95 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1664, allocations: 0 / 0.6187 GB, free: 11.95 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1664, allocations: 4 kB / 0.6187 GB, free: 11.95 MB / 442.8 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.0004281/0.1669, allocations: 319.6 kB / 0.619 GB, free: 11.59 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1669, allocations: 15.97 kB / 0.619 GB, free: 11.57 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.1669, allocations: 8.781 kB / 0.619 GB, free: 11.56 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1671, allocations: 164.7 kB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1671, allocations: 384 / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1671, allocations: 8.359 kB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1672, allocations: 38.25 kB / 0.6192 GB, free: 11.31 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1673, allocations: 192 / 0.6192 GB, free: 11.31 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1673, allocations: 3.938 kB / 0.6192 GB, free: 11.31 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1673, allocations: 0 / 0.6192 GB, free: 11.31 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.686e-05/0.1673, allocations: 4 kB / 0.6192 GB, free: 11.3 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.1675, allocations: 157.6 kB / 0.6194 GB, free: 11.1 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.1678, allocations: 54.61 kB / 0.6194 GB, free: 11.04 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.1678, allocations: 8.859 kB / 0.6194 GB, free: 11.03 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.1678, allocations: 0 / 0.6194 GB, free: 11.03 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1679, allocations: 38.64 kB / 0.6195 GB, free: 10.98 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1679, allocations: 0 / 0.6195 GB, free: 10.98 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001436/0.168, allocations: 53.75 kB / 0.6195 GB, free: 10.92 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1681, allocations: 59.41 kB / 0.6196 GB, free: 10.85 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.1681, allocations: 89.86 kB / 0.6197 GB, free: 10.75 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1682, allocations: 25.7 kB / 0.6197 GB, free: 10.72 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.1682, allocations: 84.14 kB / 0.6198 GB, free: 10.64 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1682, allocations: 15.8 kB / 0.6198 GB, free: 10.62 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.1683, allocations: 13.72 kB / 0.6198 GB, free: 10.6 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1684, allocations: 314.8 kB / 0.6201 GB, free: 10.29 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.1684, allocations: 12.05 kB / 0.6201 GB, free: 10.27 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.703e-05/0.1685, allocations: 15.98 kB / 0.6201 GB, free: 10.26 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.1685, allocations: 16.86 kB / 0.6202 GB, free: 10.24 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1685, allocations: 4 kB / 0.6202 GB, free: 10.23 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.329e-05/0.1686, allocations: 53.62 kB / 0.6202 GB, free: 10.18 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1686, allocations: 4 kB / 0.6202 GB, free: 10.17 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1686, allocations: 7.922 kB / 0.6202 GB, free: 10.16 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1686, allocations: 0 / 0.6202 GB, free: 10.16 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.411e-05/0.1687, allocations: 11.98 kB / 0.6202 GB, free: 10.15 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.1687, allocations: 0 / 0.6202 GB, free: 10.15 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.1687, allocations: 0 / 0.6202 GB, free: 10.15 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1687, allocations: 4 kB / 0.6202 GB, free: 10.15 MB / 442.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.1688, allocations: 117.8 kB / 0.6203 GB, free: 10.02 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.1688, allocations: 0 / 0.6203 GB, free: 10.02 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.169, allocations: 77.05 kB / 0.6204 GB, free: 9.934 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.169, allocations: 0 / 0.6204 GB, free: 9.934 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.169, allocations: 4 kB / 0.6204 GB, free: 9.93 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.169, allocations: 0 / 0.6204 GB, free: 9.93 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.1691, allocations: 169.5 kB / 0.6206 GB, free: 9.715 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1691, allocations: 0 / 0.6206 GB, free: 9.715 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.1692, allocations: 15.98 kB / 0.6206 GB, free: 9.699 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1692, allocations: 0 / 0.6206 GB, free: 9.699 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1692, allocations: 3.938 kB / 0.6206 GB, free: 9.695 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1692, allocations: 0 / 0.6206 GB, free: 9.695 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1692, allocations: 0 / 0.6206 GB, free: 9.695 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.1703, allocations: 0.9938 MB / 0.6216 GB, free: 8.559 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.1703, allocations: 85.12 kB / 0.6217 GB, free: 8.457 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-06/0.1704, allocations: 3.984 kB / 0.6217 GB, free: 8.453 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.1704, allocations: 4 kB / 0.6217 GB, free: 8.449 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.1704, allocations: 0 / 0.6217 GB, free: 8.449 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1704, allocations: 8.062 kB / 0.6217 GB, free: 8.441 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.821e-05/0.1705, allocations: 75.28 kB / 0.6217 GB, free: 8.367 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1705, allocations: 0 / 0.6217 GB, free: 8.367 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002622/0.1707, allocations: 16 kB / 0.6218 GB, free: 8.352 MB / 442.8 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 (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.0001254/0.1709, allocations: 107.2 kB / 0.6219 GB, free: 8.238 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.171, allocations: 23.92 kB / 0.6219 GB, free: 8.215 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.171, allocations: 4 kB / 0.6219 GB, free: 8.211 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.171, allocations: 16.09 kB / 0.6219 GB, free: 8.195 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1712, allocations: 7.938 kB / 0.6219 GB, free: 8.188 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.1715, allocations: 246.2 kB / 0.6221 GB, free: 7.906 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1718, allocations: 0.6809 MB / 0.6228 GB, free: 7.199 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.1719, allocations: 11.94 kB / 0.6228 GB, free: 7.188 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.1719, allocations: 11.44 kB / 0.6228 GB, free: 7.176 MB / 442.8 MB Notification: Performance of SimCode: time 2.3e-07/0.1719, allocations: 0 / 0.6228 GB, free: 7.176 MB / 442.8 MB Notification: Performance of Templates: time 0.002481/0.1744, allocations: 0.6608 MB / 0.6235 GB, free: 6.523 MB / 442.8 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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