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.001483/0.001483, allocations: 109.2 kB / 17.74 MB, free: 5.316 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.001725/0.001725, allocations: 188.2 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9496/0.9496, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 70.89 kB / 0.5715 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.147, allocations: 80.69 MB / 0.6503 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.002/0.149, allocations: 408.4 kB / 0.6507 GB, free: 12.72 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0005304/0.1496, allocations: 231.2 kB / 0.651 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.1496, allocations: 0 / 0.651 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.1497, allocations: 0 / 0.651 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.1498, allocations: 7.922 kB / 0.651 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.15, allocations: 19.92 kB / 0.651 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.1501, allocations: 11.98 kB / 0.651 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.1501, allocations: 8 kB / 0.651 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.1502, allocations: 0 / 0.651 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.1502, allocations: 15.92 kB / 0.651 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1502, allocations: 0 / 0.651 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1503, allocations: 23.97 kB / 0.651 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.1504, allocations: 0 / 0.651 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.1504, allocations: 7.938 kB / 0.651 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1505, allocations: 23.95 kB / 0.6511 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1505, allocations: 0 / 0.6511 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1505, allocations: 0 / 0.6511 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1505, allocations: 0 / 0.6511 GB, free: 12.38 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.0004224/0.151, allocations: 331.9 kB / 0.6514 GB, free: 12 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.151, allocations: 8.031 kB / 0.6514 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.1511, allocations: 4.938 kB / 0.6514 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1512, allocations: 164.3 kB / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.1512, allocations: 384 / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.1513, allocations: 384 / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.1514, allocations: 38.25 kB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1514, allocations: 8.188 kB / 0.6516 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1514, allocations: 7.938 kB / 0.6516 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1514, allocations: 0 / 0.6516 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.123e-05/0.1515, allocations: 11.92 kB / 0.6516 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.1516, allocations: 153.7 kB / 0.6518 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1519, allocations: 42.5 kB / 0.6518 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.1519, allocations: 12.92 kB / 0.6518 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.1519, allocations: 0 / 0.6518 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.152, allocations: 38.56 kB / 0.6519 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.152, allocations: 4 kB / 0.6519 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.000164/0.1521, allocations: 61.55 kB / 0.6519 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.1522, allocations: 51.41 kB / 0.652 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.1523, allocations: 93.86 kB / 0.6521 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1523, allocations: 25.7 kB / 0.6521 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.1523, allocations: 80.14 kB / 0.6522 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1524, allocations: 19.97 kB / 0.6522 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.1524, allocations: 13.7 kB / 0.6522 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1525, allocations: 318.8 kB / 0.6525 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.1526, allocations: 4 kB / 0.6525 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.1526, allocations: 11.98 kB / 0.6525 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.492e-05/0.1526, allocations: 21.12 kB / 0.6525 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1526, allocations: 0 / 0.6525 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.536e-05/0.1527, allocations: 49.62 kB / 0.6526 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1528, allocations: 8 kB / 0.6526 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1528, allocations: 7.938 kB / 0.6526 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1528, allocations: 0 / 0.6526 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.1528, allocations: 4 kB / 0.6526 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1529, allocations: 3.984 kB / 0.6526 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.1529, allocations: 7.906 kB / 0.6526 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.1529, allocations: 0 / 0.6526 GB, free: 10.58 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 7.519e-05/0.153, allocations: 110.7 kB / 0.6527 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.153, allocations: 4 kB / 0.6527 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.1532, allocations: 81.05 kB / 0.6528 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1532, allocations: 0 / 0.6528 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1532, allocations: 0 / 0.6528 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1532, allocations: 0 / 0.6528 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.1533, allocations: 161.6 kB / 0.6529 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1533, allocations: 0 / 0.6529 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.1534, allocations: 8 kB / 0.653 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1534, allocations: 3.938 kB / 0.653 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1534, allocations: 11.92 kB / 0.653 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1534, allocations: 0 / 0.653 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1534, allocations: 4 kB / 0.653 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1536, allocations: 109 kB / 0.6531 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.1536, allocations: 77.11 kB / 0.6531 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1537, allocations: 7.969 kB / 0.6532 GB, free: 9.906 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.562e-05/0.1537, allocations: 7.984 kB / 0.6532 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.1537, allocations: 0 / 0.6532 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1537, allocations: 4 kB / 0.6532 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.1538, allocations: 79.34 kB / 0.6532 GB, free: 9.816 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.1538, allocations: 0 / 0.6532 GB, free: 9.816 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000193/0.154, allocations: 12 kB / 0.6533 GB, free: 9.805 MB / 0.4983 GB 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.0001452/0.1541, allocations: 107.7 kB / 0.6534 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 9.949e-05/0.1542, allocations: 23.98 kB / 0.6534 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1542, allocations: 0 / 0.6534 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.1543, allocations: 19.94 kB / 0.6534 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.1544, allocations: 3.938 kB / 0.6534 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.1548, allocations: 159.3 kB / 0.6536 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1551, allocations: 0.6844 MB / 0.6542 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.1551, allocations: 11.44 kB / 0.6542 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of SimCode: time 4.21e-07/0.1551, allocations: 0 / 0.6542 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of Templates: time 0.002201/0.1573, allocations: 0.6936 MB / 0.6549 GB, free: 8.043 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