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.00128/0.00128, allocations: 112.6 kB / 17.75 MB, free: 5.336 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.001118/0.001118, allocations: 190.5 kB / 18.68 MB, free: 4.41 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.118/1.118, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7309/0.7309, allocations: 119.3 MB / 411.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.344e-05, allocations: 4.672 kB / 0.5715 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0009343/0.000958, allocations: 407 kB / 0.5719 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.001287, allocations: 222.9 kB / 0.5721 GB, free: 39.44 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.001323, allocations: 0 / 0.5721 GB, free: 39.44 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.001341, allocations: 3.938 kB / 0.5721 GB, free: 39.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.515e-05/0.00144, allocations: 1.5 kB / 0.5721 GB, free: 39.44 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.541e-05/0.001554, allocations: 26.97 kB / 0.5721 GB, free: 39.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.847e-05/0.001601, allocations: 16.58 kB / 0.5721 GB, free: 39.41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.001641, allocations: 3.375 kB / 0.5721 GB, free: 39.41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.001661, allocations: 5.469 kB / 0.5722 GB, free: 39.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 2.725e-05/0.001693, allocations: 11.86 kB / 0.5722 GB, free: 39.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.001705, allocations: 0 / 0.5722 GB, free: 39.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.001767, allocations: 19.02 kB / 0.5722 GB, free: 39.39 MB / 462.3 MB Notification: Performance of combineBinaries: time 2.72e-05/0.001799, allocations: 22.39 kB / 0.5722 GB, free: 39.37 MB / 462.3 MB Notification: Performance of replaceArrayConstructors: time 5.039e-06/0.001808, allocations: 15.53 kB / 0.5722 GB, free: 39.36 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.055e-06/0.001821, allocations: 5.5 kB / 0.5722 GB, free: 39.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 5.6e-06/0.00183, allocations: 0 / 0.5722 GB, free: 39.36 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0001777/0.002013, allocations: 204.9 kB / 0.5724 GB, free: 39.09 MB / 462.3 MB Notification: Performance of FunctionAlias: time 3.353e-05/0.002052, allocations: 7.625 kB / 0.5724 GB, free: 39.08 MB / 462.3 MB Notification: Performance of Early Inline: time 8.749e-05/0.002144, allocations: 102.7 kB / 0.5725 GB, free: 38.98 MB / 462.3 MB Notification: Performance of simplify1: time 8.856e-06/0.00216, allocations: 17.44 kB / 0.5725 GB, free: 38.97 MB / 462.3 MB Notification: Performance of Alias: time 0.0001597/0.002324, allocations: 104.6 kB / 0.5726 GB, free: 38.84 MB / 462.3 MB Notification: Performance of simplify2: time 8.165e-06/0.002341, allocations: 13.2 kB / 0.5727 GB, free: 38.84 MB / 462.3 MB Notification: Performance of Events: time 1.07e-05/0.002356, allocations: 2.625 kB / 0.5727 GB, free: 38.84 MB / 462.3 MB Notification: Performance of Detect States: time 6.195e-05/0.002422, allocations: 35.58 kB / 0.5727 GB, free: 38.79 MB / 462.3 MB Notification: Performance of Partitioning: time 3.423e-05/0.002462, allocations: 32.84 kB / 0.5727 GB, free: 38.76 MB / 462.3 MB Notification: Performance of Causalize: time 7.92e-05/0.002546, allocations: 83.67 kB / 0.5728 GB, free: 38.71 MB / 462.3 MB Notification: Performance of After Index Reduction Inline: time 3.319e-05/0.002585, allocations: 65.5 kB / 0.5729 GB, free: 38.63 MB / 462.3 MB Notification: Performance of Inline: time 8.389e-05/0.002674, allocations: 129.7 kB / 0.573 GB, free: 38.5 MB / 462.3 MB Notification: Performance of Partitioning: time 7.414e-06/0.002688, allocations: 14.59 kB / 0.573 GB, free: 38.48 MB / 462.3 MB Notification: Performance of Cleanup: time 6.763e-06/0.002699, allocations: 5.375 kB / 0.573 GB, free: 38.47 MB / 462.3 MB Notification: Performance of Causalize: time 9.914e-05/0.002802, allocations: 114 kB / 0.5731 GB, free: 38.4 MB / 462.3 MB Notification: Performance of Tearing: time 3.817e-06/0.002813, allocations: 4.125 kB / 0.5731 GB, free: 38.39 MB / 462.3 MB Notification: Performance of Initialization: time 2.81e-07/0.002818, allocations: 1.312 kB / 0.5731 GB, free: 38.39 MB / 462.3 MB Notification: Performance of Tearing: time 7.82e-07/0.002823, allocations: 0 / 0.5731 GB, free: 38.39 MB / 462.3 MB Notification: Performance of Categorize: time 5.3e-06/0.002832, allocations: 5.469 kB / 0.5731 GB, free: 38.39 MB / 462.3 MB Notification: Performance of Solve: time 4.746e-05/0.002883, allocations: 23.19 kB / 0.5731 GB, free: 38.38 MB / 462.3 MB Notification: Performance of Jacobian: time 6.702e-05/0.002955, allocations: 189.4 kB / 0.5733 GB, free: 38.17 MB / 462.3 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.024e-05/0.002981, allocations: 20.81 kB / 0.5733 GB, free: 38.16 MB / 462.3 MB Notification: Performance of SimCode: time 0.0002895/0.003275, allocations: 0.7977 MB / 0.5741 GB, free: 37.38 MB / 462.3 MB Notification: Performance of Templates: time 0.001814/0.005098, allocations: 0.504 MB / 0.5746 GB, free: 37.12 MB / 462.3 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches