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.001552/0.001552, allocations: 111.7 kB / 17.74 MB, free: 5.332 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.001788/0.001788, allocations: 190.6 kB / 18.68 MB, free: 4.402 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.81/1.81, 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.101/1.101, allocations: 119.3 MB / 411.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 61.53 kB / 0.5716 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1761, allocations: 80.69 MB / 0.6504 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.00186/0.178, allocations: 412.9 kB / 0.6508 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0005571/0.1786, allocations: 219.2 kB / 0.651 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.1787, allocations: 4 kB / 0.651 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.1787, allocations: 4 kB / 0.651 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.1789, allocations: 3.938 kB / 0.651 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.179, allocations: 27.91 kB / 0.651 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.1791, allocations: 7.984 kB / 0.651 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.1792, allocations: 0 / 0.651 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.1792, allocations: 4 kB / 0.651 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.1793, allocations: 11.94 kB / 0.651 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1793, allocations: 3.984 kB / 0.651 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1794, allocations: 23.97 kB / 0.6511 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.1794, allocations: 0 / 0.6511 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.1795, allocations: 11.88 kB / 0.6511 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1796, allocations: 31.89 kB / 0.6511 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1796, allocations: 0 / 0.6511 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1796, allocations: 0 / 0.6511 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.1796, allocations: 0 / 0.6511 GB, free: 12.34 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.0004393/0.1801, allocations: 327.8 kB / 0.6514 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1801, allocations: 8.031 kB / 0.6514 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.1802, allocations: 0.9375 kB / 0.6514 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.1803, allocations: 160.4 kB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1804, allocations: 8.375 kB / 0.6516 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1804, allocations: 384 / 0.6516 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1805, allocations: 38.25 kB / 0.6516 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1805, allocations: 192 / 0.6516 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1805, allocations: 7.938 kB / 0.6516 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1806, allocations: 0 / 0.6516 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.894e-05/0.1806, allocations: 15.92 kB / 0.6516 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.1808, allocations: 161.6 kB / 0.6518 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.1811, allocations: 42.56 kB / 0.6518 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.1811, allocations: 16.92 kB / 0.6518 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1812, allocations: 0 / 0.6518 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1812, allocations: 30.56 kB / 0.6519 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1812, allocations: 0 / 0.6519 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001934/0.1814, allocations: 65.59 kB / 0.6519 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1814, allocations: 51.41 kB / 0.652 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.1815, allocations: 97.86 kB / 0.6521 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1816, allocations: 29.64 kB / 0.6521 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.1816, allocations: 84.14 kB / 0.6522 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1816, allocations: 3.953 kB / 0.6522 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.1817, allocations: 21.7 kB / 0.6522 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1819, allocations: 310.8 kB / 0.6525 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.182, allocations: 4 kB / 0.6525 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.182, allocations: 11.98 kB / 0.6525 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.353e-05/0.1821, allocations: 25.25 kB / 0.6525 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1821, allocations: 0 / 0.6525 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.1822, allocations: 53.62 kB / 0.6526 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1823, allocations: 4 kB / 0.6526 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1823, allocations: 0 / 0.6526 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1823, allocations: 7.938 kB / 0.6526 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.1824, allocations: 7.984 kB / 0.6526 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.1824, allocations: 3.984 kB / 0.6526 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.1824, allocations: 3.953 kB / 0.6526 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1824, allocations: 4 kB / 0.6526 GB, free: 10.54 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 8.76e-05/0.1825, allocations: 114.7 kB / 0.6527 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.1826, allocations: 0 / 0.6527 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.1828, allocations: 77.05 kB / 0.6528 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1828, allocations: 4 kB / 0.6528 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1828, allocations: 0 / 0.6528 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.1829, allocations: 77.11 kB / 0.6529 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1829, allocations: 0 / 0.6529 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.1829, allocations: 0 / 0.6529 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.1829, allocations: 11.98 kB / 0.6529 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002468/0.1832, allocations: 140.9 kB / 0.653 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002903/0.1835, allocations: 254.8 kB / 0.6533 GB, free: 9.812 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.363e-05/0.1836, allocations: 12.03 kB / 0.6533 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.1836, allocations: 87.27 kB / 0.6534 GB, free: 9.715 MB / 0.4983 GB Notification: Performance of Backend: time 4.01e-07/0.1836, allocations: 4.156 kB / 0.6534 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0006377/0.1843, allocations: 98.31 kB / 0.6535 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of SimCode: time 0.000562/0.1849, allocations: 0.557 MB / 0.654 GB, free: 9 MB / 0.4983 GB Notification: Performance of Templates: time 0.00363/0.1885, allocations: 0.5765 MB / 0.6546 GB, free: 8.434 MB / 0.4983 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches