Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009968/0.0009969, allocations: 186.1 kB / 16.72 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.7 MB / 243.2 MB, free: 8.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 96.23 kB / 294.4 MB, free: 9.473 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7685/0.7685, allocations: 120.5 MB / 465.9 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 4 kB / 0.5464 GB, free: 41.38 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 82.86 MB / 0.6273 GB, free: 7.855 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0005186/0.1501, allocations: 121.4 kB / 0.6274 GB, free: 7.738 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005395/0.1506, allocations: 378.1 kB / 0.6278 GB, free: 7.336 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.1506, allocations: 0 / 0.6278 GB, free: 7.336 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.1507, allocations: 0 / 0.6278 GB, free: 7.336 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.1508, allocations: 7.984 kB / 0.6278 GB, free: 7.328 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.015e-05/0.1509, allocations: 19.91 kB / 0.6278 GB, free: 7.309 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 4.559e-05/0.151, allocations: 8 kB / 0.6278 GB, free: 7.301 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.151, allocations: 0 / 0.6278 GB, free: 7.301 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.1511, allocations: 7.938 kB / 0.6278 GB, free: 7.293 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.1511, allocations: 7.984 kB / 0.6278 GB, free: 7.285 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1511, allocations: 4 kB / 0.6278 GB, free: 7.281 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.1512, allocations: 23.98 kB / 0.6278 GB, free: 7.258 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.1512, allocations: 7.984 kB / 0.6279 GB, free: 7.25 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.1513, allocations: 29.64 kB / 0.6279 GB, free: 7.215 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 9.333e-05/0.1514, allocations: 23.91 kB / 0.6279 GB, free: 7.191 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1514, allocations: 4 kB / 0.6279 GB, free: 7.188 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1514, allocations: 0 / 0.6279 GB, free: 7.188 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1514, allocations: 0 / 0.6279 GB, free: 7.188 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.0003681/0.1518, allocations: 315.6 kB / 0.6282 GB, free: 6.828 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1518, allocations: 8.031 kB / 0.6282 GB, free: 6.82 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.1519, allocations: 12.84 kB / 0.6282 GB, free: 6.809 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.152, allocations: 164.6 kB / 0.6284 GB, free: 6.609 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.152, allocations: 384 / 0.6284 GB, free: 6.609 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.152, allocations: 384 / 0.6284 GB, free: 6.609 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.636e-05/0.1521, allocations: 42.23 kB / 0.6284 GB, free: 6.562 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1522, allocations: 4.188 kB / 0.6284 GB, free: 6.559 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1522, allocations: 3.938 kB / 0.6284 GB, free: 6.555 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1522, allocations: 0 / 0.6284 GB, free: 6.555 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.1522, allocations: 7.984 kB / 0.6284 GB, free: 6.547 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.1524, allocations: 161.7 kB / 0.6286 GB, free: 6.34 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1526, allocations: 46.44 kB / 0.6286 GB, free: 6.285 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.1527, allocations: 12.92 kB / 0.6287 GB, free: 6.27 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1527, allocations: 3.984 kB / 0.6287 GB, free: 6.266 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1527, allocations: 34.56 kB / 0.6287 GB, free: 6.223 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1527, allocations: 0 / 0.6287 GB, free: 6.223 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001463/0.1529, allocations: 61.7 kB / 0.6287 GB, free: 6.156 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1529, allocations: 55.34 kB / 0.6288 GB, free: 6.09 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.153, allocations: 97.86 kB / 0.6289 GB, free: 5.984 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.153, allocations: 25.7 kB / 0.6289 GB, free: 5.953 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.153, allocations: 80.14 kB / 0.629 GB, free: 5.871 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.1531, allocations: 7.812 kB / 0.629 GB, free: 5.863 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.1531, allocations: 0 / 0.629 GB, free: 5.863 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.1532, allocations: 322.8 kB / 0.6293 GB, free: 5.539 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.1532, allocations: 8.125 kB / 0.6293 GB, free: 5.531 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.1532, allocations: 8 kB / 0.6293 GB, free: 5.523 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.1532, allocations: 20.84 kB / 0.6293 GB, free: 5.5 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1533, allocations: 0 / 0.6293 GB, free: 5.5 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.951e-05/0.1533, allocations: 49.62 kB / 0.6294 GB, free: 5.445 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1534, allocations: 11.94 kB / 0.6294 GB, free: 5.434 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1534, allocations: 3.938 kB / 0.6294 GB, free: 5.43 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1534, allocations: 0 / 0.6294 GB, free: 5.43 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.1534, allocations: 4 kB / 0.6294 GB, free: 5.426 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1534, allocations: 0 / 0.6294 GB, free: 5.426 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.1535, allocations: 8 kB / 0.6294 GB, free: 5.418 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1535, allocations: 0 / 0.6294 GB, free: 5.418 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 6.782e-05/0.1536, allocations: 117.8 kB / 0.6295 GB, free: 5.293 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.1536, allocations: 4 kB / 0.6295 GB, free: 5.289 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.1537, allocations: 69.12 kB / 0.6296 GB, free: 5.207 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1538, allocations: 64 / 0.6296 GB, free: 5.207 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1538, allocations: 7.938 kB / 0.6296 GB, free: 5.199 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1538, allocations: 8.312 kB / 0.6296 GB, free: 5.191 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.1539, allocations: 161.6 kB / 0.6298 GB, free: 4.984 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1539, allocations: 0 / 0.6298 GB, free: 4.984 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.154, allocations: 8 kB / 0.6298 GB, free: 4.977 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.154, allocations: 3.984 kB / 0.6298 GB, free: 4.973 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.154, allocations: 3.938 kB / 0.6298 GB, free: 4.969 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.154, allocations: 0 / 0.6298 GB, free: 4.969 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.154, allocations: 4 kB / 0.6298 GB, free: 4.965 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.1542, allocations: 101.1 kB / 0.6299 GB, free: 4.848 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.1542, allocations: 81.05 kB / 0.63 GB, free: 4.75 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1542, allocations: 3.938 kB / 0.63 GB, free: 4.746 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.1543, allocations: 4 kB / 0.63 GB, free: 4.742 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.1543, allocations: 15.89 kB / 0.63 GB, free: 4.727 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1543, allocations: 0 / 0.63 GB, free: 4.727 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.261e-05/0.1543, allocations: 79.28 kB / 0.6301 GB, free: 4.648 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1543, allocations: 0 / 0.6301 GB, free: 4.648 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001711/0.1545, allocations: 12 kB / 0.6301 GB, free: 4.637 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.0001345/0.1546, allocations: 107.4 kB / 0.6302 GB, free: 4.52 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 8.941e-05/0.1547, allocations: 23.98 kB / 0.6302 GB, free: 4.496 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1548, allocations: 0 / 0.6302 GB, free: 4.496 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.1548, allocations: 23.92 kB / 0.6302 GB, free: 4.473 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1549, allocations: 0 / 0.6302 GB, free: 4.473 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.1552, allocations: 140.5 kB / 0.6304 GB, free: 4.305 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.1555, allocations: 0.6848 MB / 0.631 GB, free: 3.594 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.734e-05/0.1555, allocations: 4 kB / 0.631 GB, free: 3.59 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.1555, allocations: 7.438 kB / 0.631 GB, free: 3.582 MB / 442.8 MB Notification: Performance of SimCode: time 3.01e-07/0.1555, allocations: 0 / 0.631 GB, free: 3.582 MB / 442.8 MB Notification: Performance of Templates: time 0.00236/0.1579, allocations: 0.5493 MB / 0.6316 GB, free: 3.035 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/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