Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.00153/0.00153, allocations: 101.3 kB / 19.72 MB, free: 2.121 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.001572/0.001572, allocations: 205.9 kB / 23 MB, free: 4.938 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.981/2.981, allocations: 0.49 GB / 0.7958 GB, free: 35.54 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.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.724e-05, allocations: 2.281 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00273/0.002748, allocations: 2.107 MB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.003723, allocations: 0.5913 MB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.003828, allocations: 8.938 kB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.003938, allocations: 24.75 kB / 1.158 GB, free: 23.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.162e-05/0.00403, allocations: 40.28 kB / 1.158 GB, free: 23.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.004256, allocations: 103.7 kB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.004562, allocations: 328.8 kB / 1.158 GB, free: 23.22 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.004775, allocations: 111 kB / 1.158 GB, free: 23.16 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.004905, allocations: 125.6 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.005048, allocations: 141.1 kB / 1.159 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.005106, allocations: 30.66 kB / 1.159 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.772e-05/0.005154, allocations: 32.16 kB / 1.159 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002948/0.005449, allocations: 0.505 MB / 1.159 GB, free: 22.67 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001248/0.005574, allocations: 309.3 kB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.005621, allocations: 17.16 kB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.775e-05/0.005659, allocations: 16.3 kB / 1.159 GB, free: 22.45 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: 50 (50) * Number of variables: 50 (50) Notification: Performance of [SIM] Bindings: time 0.001268/0.006927, allocations: 1.286 MB / 1.161 GB, free: 21.5 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001174/0.007044, allocations: 155.7 kB / 1.161 GB, free: 21.4 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0006373/0.007682, allocations: 0.7876 MB / 1.162 GB, free: 20.94 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002725/0.007954, allocations: 226.5 kB / 1.162 GB, free: 20.79 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001446/0.0094, allocations: 1.204 MB / 1.163 GB, free: 20.03 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001747/0.009575, allocations: 183.7 kB / 1.163 GB, free: 19.9 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001113/0.009686, allocations: 139.1 kB / 1.163 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003184/0.01, allocations: 305.3 kB / 1.164 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0002527/0.01026, allocations: 186.3 kB / 1.164 GB, free: 19.45 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000323/0.01058, allocations: 300.1 kB / 1.164 GB, free: 19.28 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0006774/0.01126, allocations: 0.507 MB / 1.165 GB, free: 19.1 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005543/0.01181, allocations: 0.6801 MB / 1.165 GB, free: 18.75 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.000579/0.01239, allocations: 473.5 kB / 1.166 GB, free: 18.44 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0006646/0.01306, allocations: 0.8208 MB / 1.166 GB, free: 18 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 3.606e-05/0.01309, allocations: 22.61 kB / 1.166 GB, free: 17.99 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.00012/0.01321, allocations: 144.6 kB / 1.167 GB, free: 17.9 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001037/0.01425, allocations: 0.7915 MB / 1.167 GB, free: 17.71 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.068e-05/0.01427, allocations: 27.06 kB / 1.167 GB, free: 17.69 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.01427, allocations: 1.312 kB / 1.167 GB, free: 17.69 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.332e-06/0.01428, allocations: 4 kB / 1.167 GB, free: 17.68 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 8.396e-06/0.01428, allocations: 21.75 kB / 1.167 GB, free: 17.67 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.155e-05/0.0143, allocations: 6.781 kB / 1.167 GB, free: 17.66 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003502/0.01465, allocations: 292.1 kB / 1.168 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.235e-06/0.01465, allocations: 1.094 kB / 1.168 GB, free: 17.54 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * 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: .................... 7 (7) {TEvaOutEmu.T_start, TEvaOutEmu.count, TConInEmu.T_start, TConInEmu.count, ySetPul.T_start, ySetPul.count, antFre.disErr.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 21 (21) {hys.y, antFre.err, antFre.ySetOn.y, antFre.errAndSetOn.y, antFre.hys.y, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 29 (scalar:29, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, 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: ........... 50 (scalar:50, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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 0.0001024/0.01476, allocations: 62.09 kB / 1.168 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009119/0.01567, allocations: 0.8133 MB / 1.169 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of Templates: time 0.006764/0.02243, allocations: 3.262 MB / 1.172 GB, free: 16.79 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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: 8.03423143690452]