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.001739/0.001739, allocations: 110.9 kB / 17.75 MB, free: 5.309 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.001932/0.001932, allocations: 182.6 kB / 18.67 MB, free: 4.395 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.353/1.353, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.066/1.066, allocations: 119.3 MB / 411.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.81 kB / 0.5716 GB, free: 39.87 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1614, allocations: 80.7 MB / 0.6504 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001806/0.1633, allocations: 404.3 kB / 0.6507 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0005068/0.1638, allocations: 227.1 kB / 0.651 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.1639, allocations: 4 kB / 0.651 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.1639, allocations: 4 kB / 0.651 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1641, allocations: 0 / 0.651 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.1642, allocations: 23.91 kB / 0.651 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1644, allocations: 11.94 kB / 0.651 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.1644, allocations: 3.984 kB / 0.651 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.772e-05/0.1645, allocations: 8 kB / 0.651 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.1645, allocations: 11.92 kB / 0.651 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1646, allocations: 0 / 0.651 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.85e-05/0.1647, allocations: 23.97 kB / 0.651 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.1647, allocations: 0 / 0.651 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1647, allocations: 7.938 kB / 0.6511 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.1648, allocations: 23.97 kB / 0.6511 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1648, allocations: 3.984 kB / 0.6511 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1648, allocations: 0 / 0.6511 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1649, allocations: 0 / 0.6511 GB, free: 12.35 MB / 0.4983 GB 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.0003807/0.1652, allocations: 323.9 kB / 0.6514 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1653, allocations: 8.031 kB / 0.6514 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.1653, allocations: 0.9375 kB / 0.6514 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1654, allocations: 164.3 kB / 0.6516 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1655, allocations: 8.375 kB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1655, allocations: 384 / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1656, allocations: 46.17 kB / 0.6516 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1656, allocations: 192 / 0.6516 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1656, allocations: 3.938 kB / 0.6516 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1656, allocations: 3.938 kB / 0.6516 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.1657, allocations: 11.98 kB / 0.6516 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.1658, allocations: 149.7 kB / 0.6518 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.1661, allocations: 50.53 kB / 0.6518 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.1661, allocations: 16.92 kB / 0.6518 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.1661, allocations: 0 / 0.6518 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1662, allocations: 30.56 kB / 0.6519 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1662, allocations: 0 / 0.6519 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001729/0.1664, allocations: 57.62 kB / 0.6519 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.1664, allocations: 51.41 kB / 0.652 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.1665, allocations: 101.8 kB / 0.6521 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1665, allocations: 29.7 kB / 0.6521 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.1665, allocations: 80.14 kB / 0.6522 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1666, allocations: 3.906 kB / 0.6522 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.1666, allocations: 17.72 kB / 0.6522 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1668, allocations: 322.7 kB / 0.6525 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.1668, allocations: 4 kB / 0.6525 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/0.1668, allocations: 8 kB / 0.6525 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.814e-05/0.1669, allocations: 24.97 kB / 0.6525 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1669, allocations: 0 / 0.6525 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.404e-05/0.167, allocations: 49.69 kB / 0.6526 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.167, allocations: 4 kB / 0.6526 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.167, allocations: 0 / 0.6526 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.167, allocations: 7.938 kB / 0.6526 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/0.1671, allocations: 7.938 kB / 0.6526 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1671, allocations: 0 / 0.6526 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.1671, allocations: 7.906 kB / 0.6526 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1671, allocations: 7.984 kB / 0.6526 GB, free: 10.55 MB / 0.4983 GB 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 9.32e-05/0.1672, allocations: 110.7 kB / 0.6527 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.1673, allocations: 0 / 0.6527 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.1675, allocations: 81.09 kB / 0.6528 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1675, allocations: 4 kB / 0.6528 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1675, allocations: 0 / 0.6528 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.1675, allocations: 81.38 kB / 0.6529 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1676, allocations: 0 / 0.6529 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.549e-05/0.1676, allocations: 0 / 0.6529 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.1676, allocations: 15.94 kB / 0.6529 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002019/0.1678, allocations: 144.9 kB / 0.653 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002626/0.1681, allocations: 250.7 kB / 0.6533 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.434e-05/0.1681, allocations: 12.03 kB / 0.6533 GB, free: 9.809 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.888e-05/0.1682, allocations: 79.28 kB / 0.6534 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of Backend: time 5.51e-07/0.1682, allocations: 8.094 kB / 0.6534 GB, free: 9.723 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.1686, allocations: 98.38 kB / 0.6535 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of SimCode: time 0.000532/0.1692, allocations: 0.565 MB / 0.654 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of Templates: time 0.003089/0.1723, allocations: 0.5688 MB / 0.6546 GB, free: 8.441 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches