Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.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.001476/0.001476, allocations: 100.4 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.001846/0.001846, allocations: 211.2 kB / 23.01 MB, free: 4.93 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.631/1.631, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 3.356/3.356, allocations: 0.49 GB / 0.7958 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.47e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003695/0.003719, allocations: 1.689 MB / 1.157 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.00487, allocations: 0.4906 MB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.004958, allocations: 2.25 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.005003, allocations: 5.016 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.005107, allocations: 19.73 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.00542, allocations: 46.23 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.00566, allocations: 113.5 kB / 1.157 GB, free: 23.67 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.005839, allocations: 29.38 kB / 1.157 GB, free: 23.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.006071, allocations: 55.23 kB / 1.157 GB, free: 23.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.006171, allocations: 43.25 kB / 1.157 GB, free: 23.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.006199, allocations: 7.438 kB / 1.157 GB, free: 23.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.006274, allocations: 13.38 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001706/0.006445, allocations: 155.8 kB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.132e-05/0.006506, allocations: 95 kB / 1.158 GB, free: 23.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.006527, allocations: 7.938 kB / 1.158 GB, free: 23.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.826e-05/0.006546, allocations: 2.219 kB / 1.158 GB, free: 23.43 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.0007275/0.007273, allocations: 491 kB / 1.158 GB, free: 22.97 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 9.206e-05/0.007365, allocations: 63.81 kB / 1.158 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003667/0.007732, allocations: 246.3 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001141/0.007846, allocations: 88.2 kB / 1.159 GB, free: 22.65 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000752/0.008598, allocations: 341.7 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001004/0.008698, allocations: 86.61 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 5.475e-05/0.008753, allocations: 55.44 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001937/0.008947, allocations: 114.5 kB / 1.159 GB, free: 22.06 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001411/0.009088, allocations: 51.56 kB / 1.159 GB, free: 22.04 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001831/0.009271, allocations: 97.33 kB / 1.159 GB, free: 21.97 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000291/0.009562, allocations: 132.7 kB / 1.159 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002034/0.009766, allocations: 182.8 kB / 1.16 GB, free: 21.82 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002753/0.01004, allocations: 156.9 kB / 1.16 GB, free: 21.65 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002554/0.0103, allocations: 274.8 kB / 1.16 GB, free: 21.5 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.458e-05/0.01031, allocations: 12.34 kB / 1.16 GB, free: 21.48 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.974e-05/0.01035, allocations: 40.8 kB / 1.16 GB, free: 21.46 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002951/0.01065, allocations: 179.2 kB / 1.16 GB, free: 21.41 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.299e-05/0.01066, allocations: 5.906 kB / 1.16 GB, free: 21.4 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.01066, allocations: 2 kB / 1.16 GB, free: 21.4 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.689e-06/0.01066, allocations: 0 / 1.16 GB, free: 21.4 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.238e-06/0.01067, allocations: 11.91 kB / 1.16 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.796e-06/0.01068, allocations: 0 / 1.16 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.000178/0.01085, allocations: 110.9 kB / 1.16 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.598e-06/0.01086, allocations: 1.344 kB / 1.16 GB, free: 21.36 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: ......... 2 * 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: ................. 6 (6) {chiSwi.y, chiSwi.hysteresis.y, $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: ........... 9 (scalar:9, 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: ........... 11 (scalar:11, 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 4.602e-05/0.01091, allocations: 29.88 kB / 1.16 GB, free: 21.34 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006409/0.01155, allocations: 334.1 kB / 1.161 GB, free: 21.13 MB / 0.9044 GB Notification: Performance of Templates: time 0.004193/0.01574, allocations: 0.8795 MB / 1.162 GB, free: 21.01 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.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: 9.20561792794615]