Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.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.001409/0.001409, allocations: 88.22 kB / 20.22 MB, free: 1.309 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.001652/0.001652, allocations: 157.6 kB / 23.53 MB, free: 4.199 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.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.287/3.287, allocations: 428.5 MB / 0.6727 GB, free: 9.621 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.493e-05, allocations: 2.312 kB / 0.877 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.004143/0.004178, allocations: 1.719 MB / 0.8787 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.005511, allocations: 0.4948 MB / 0.8792 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.00561, allocations: 0.9375 kB / 0.8792 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.005658, allocations: 7.875 kB / 0.8792 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.005764, allocations: 16.88 kB / 0.8792 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.006115, allocations: 47.86 kB / 0.8793 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.006354, allocations: 118.2 kB / 0.8794 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.006522, allocations: 24.2 kB / 0.8794 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.006819, allocations: 75.81 kB / 0.8795 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.641e-05/0.006905, allocations: 27.91 kB / 0.8795 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.006936, allocations: 11.94 kB / 0.8795 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.552e-05/0.006991, allocations: 8 kB / 0.8795 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001712/0.007163, allocations: 134.7 kB / 0.8796 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 6.597e-05/0.007229, allocations: 86.84 kB / 0.8797 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.007251, allocations: 4 kB / 0.8797 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.284e-05/0.007273, allocations: 0 / 0.8797 GB, free: 15.29 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (10) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.0008531/0.008127, allocations: 491.2 kB / 0.8802 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002552/0.008382, allocations: 83.98 kB / 0.8803 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of [SIM] Early Inline: time 0.0005196/0.008901, allocations: 327.9 kB / 0.8806 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of [SIM] Simplify 1: time 0.0001009/0.009002, allocations: 56.41 kB / 0.8806 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of [SIM] Alias: time 0.0008256/0.009828, allocations: 348.8 kB / 0.881 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of [SIM] Simplify 2: time 8.976e-05/0.009918, allocations: 60.33 kB / 0.881 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of [SIM] Remove Stream: time 7.68e-05/0.009994, allocations: 48.42 kB / 0.8811 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of [SIM] Detect States: time 0.0002979/0.01029, allocations: 133.5 kB / 0.8812 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of [SIM] Events: time 0.0001814/0.01047, allocations: 73.08 kB / 0.8813 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of [SIM] Partitioning: time 0.0002915/0.01077, allocations: 170 kB / 0.8814 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of [SIM] Causalize: time 0.0003184/0.01108, allocations: 196.1 kB / 0.8816 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002433/0.01133, allocations: 211.8 kB / 0.8818 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of [INI] Simplify: time 0.0002737/0.0116, allocations: 132.5 kB / 0.882 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of [INI] Inline: time 0.0004078/0.01201, allocations: 379.7 kB / 0.8823 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of [INI] Partitioning: time 2.582e-05/0.01203, allocations: 12.5 kB / 0.8823 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of [INI] Cleanup: time 8.575e-05/0.01212, allocations: 67.92 kB / 0.8824 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of [INI] Causalize: time 0.0003821/0.0125, allocations: 208.5 kB / 0.8826 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of [INI] Tearing: time 2.05e-05/0.01252, allocations: 12 kB / 0.8826 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of [SIM] Initialization: time 7.11e-07/0.01252, allocations: 0 / 0.8826 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of [SIM] Remove Dummies: time 6.753e-06/0.01253, allocations: 0 / 0.8826 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of [SIM] Tearing: time 4.168e-06/0.01253, allocations: 4 kB / 0.8826 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of [SIM] Categorize: time 1.567e-05/0.01255, allocations: 7.938 kB / 0.8826 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of [SIM] Solve: time 0.0002064/0.01276, allocations: 99.92 kB / 0.8827 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of [SIM] Jacobian: time 1.029e-05/0.01277, allocations: 0 / 0.8827 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.11e-07/0.01277, allocations: 4 kB / 0.8827 GB, free: 11.71 MB / 0.8419 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: ......... 3 * 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: ................. 7 (7) {chiSwi.y, chiSwi.hysteresis.y, $SEV_2, $SEV_1, $SEV_0, $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: ........... 12 (scalar:12, 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: ........... 14 (scalar:14, 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 5.51e-05/0.01282, allocations: 18.66 kB / 0.8827 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008977/0.01372, allocations: 426.9 kB / 0.8831 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.004688/0.01841, allocations: 0.938 MB / 0.8841 GB, free: 10.38 MB / 0.8419 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.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.639161445200443]