Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 108.3 kB / 19.71 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 213 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.964/2.964, allocations: 0.49 GB / 0.7958 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/1.966e-05, allocations: 4.531 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00475/0.00477, allocations: 4.437 MB / 1.159 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.005598, allocations: 0.7608 MB / 1.16 GB, free: 21.68 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.005648, allocations: 0 / 1.16 GB, free: 21.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.00579, allocations: 27.23 kB / 1.16 GB, free: 21.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.296e-05/0.005843, allocations: 33.5 kB / 1.16 GB, free: 21.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.006281, allocations: 184 kB / 1.16 GB, free: 21.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.006451, allocations: 190.3 kB / 1.161 GB, free: 21.47 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.619e-05/0.006527, allocations: 11.52 kB / 1.161 GB, free: 21.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.006664, allocations: 83.16 kB / 1.161 GB, free: 21.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.006744, allocations: 82.25 kB / 1.161 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.006769, allocations: 13.31 kB / 1.161 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.007017, allocations: 146.4 kB / 1.161 GB, free: 21.34 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001665/0.007183, allocations: 263.3 kB / 1.161 GB, free: 21.18 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.088e-05/0.007244, allocations: 154.2 kB / 1.161 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.007273, allocations: 12.25 kB / 1.161 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.285e-05/0.007285, allocations: 2.156 kB / 1.161 GB, free: 21.07 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 (16) * Number of variables: 17 (17) Notification: Performance of [SIM] Bindings: time 0.0005936/0.007879, allocations: 0.7439 MB / 1.162 GB, free: 20.46 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001385/0.008018, allocations: 110.1 kB / 1.162 GB, free: 20.4 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0006809/0.008698, allocations: 0.6945 MB / 1.163 GB, free: 20.07 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002187/0.008917, allocations: 230.7 kB / 1.163 GB, free: 19.91 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005515/0.009469, allocations: 469.5 kB / 1.163 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002121/0.009681, allocations: 226.8 kB / 1.164 GB, free: 19.4 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 6.226e-05/0.009743, allocations: 86.89 kB / 1.164 GB, free: 19.32 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001452/0.009888, allocations: 207.4 kB / 1.164 GB, free: 19.15 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.283e-05/0.009981, allocations: 64.05 kB / 1.164 GB, free: 19.12 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002084/0.01019, allocations: 193.5 kB / 1.164 GB, free: 19.03 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003695/0.01056, allocations: 292 kB / 1.164 GB, free: 18.94 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003584/0.01092, allocations: 438.8 kB / 1.165 GB, free: 18.76 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003606/0.01128, allocations: 327.3 kB / 1.165 GB, free: 18.53 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0005245/0.0118, allocations: 0.6756 MB / 1.166 GB, free: 18.23 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.024e-05/0.01182, allocations: 19.36 kB / 1.166 GB, free: 18.21 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 8.33e-05/0.01191, allocations: 104.1 kB / 1.166 GB, free: 18.16 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0006438/0.01255, allocations: 0.4934 MB / 1.166 GB, free: 18.04 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.334e-05/0.01256, allocations: 17.12 kB / 1.166 GB, free: 18.03 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.01256, allocations: 0 / 1.166 GB, free: 18.03 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.308e-06/0.01257, allocations: 0 / 1.166 GB, free: 18.03 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.067e-06/0.01257, allocations: 10.78 kB / 1.166 GB, free: 18.02 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.192e-06/0.01258, allocations: 6.328 kB / 1.166 GB, free: 18.02 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0005165/0.01309, allocations: 490.7 kB / 1.167 GB, free: 17.87 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.013e-06/0.0131, allocations: 0 / 1.167 GB, free: 17.87 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 17 (scalar:17, 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 (resizable: 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: ........... 29 (scalar:29, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.364e-05/0.01314, allocations: 29.55 kB / 1.167 GB, free: 17.85 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009275/0.01406, allocations: 0.6252 MB / 1.168 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.005898/0.01996, allocations: 2.737 MB / 1.17 GB, free: 17.2 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.98258789209649]