Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 106 kB / 16.42 MB, free: 6.48 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.001191/0.001191, allocations: 192.3 kB / 17.36 MB, free: 5.711 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.38/2.38, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.105e-05, allocations: 2.281 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002578/0.002617, allocations: 1.68 MB / 1.056 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007741/0.003405, allocations: 454.8 kB / 1.057 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.003481, allocations: 0 / 1.057 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.003523, allocations: 3.938 kB / 1.057 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.635e-05/0.003614, allocations: 19.81 kB / 1.057 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.003811, allocations: 31.95 kB / 1.057 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.003957, allocations: 91.69 kB / 1.057 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.004071, allocations: 31.94 kB / 1.057 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.004191, allocations: 31.91 kB / 1.057 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.004274, allocations: 39.83 kB / 1.057 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.004302, allocations: 8 kB / 1.057 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.004322, allocations: 4 kB / 1.057 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001097/0.004436, allocations: 122.6 kB / 1.057 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.659e-05/0.004478, allocations: 74.78 kB / 1.057 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.004513, allocations: 12 kB / 1.057 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.22e-05/0.00454, allocations: 3.938 kB / 1.057 GB, free: 5.125 MB / 0.8262 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 Bindings: time 0.0004591/0.005003, allocations: 463 kB / 1.058 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001077/0.005117, allocations: 39.86 kB / 1.058 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001787/0.005302, allocations: 204.2 kB / 1.058 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simplify1: time 3.287e-05/0.005341, allocations: 19.97 kB / 1.058 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of Alias: time 0.0004389/0.005785, allocations: 305.7 kB / 1.058 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of simplify2: time 1.974e-05/0.005814, allocations: 11.98 kB / 1.058 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of Events: time 0.0001159/0.005935, allocations: 67.75 kB / 1.058 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001064/0.006048, allocations: 76.16 kB / 1.058 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of Partitioning: time 9.534e-05/0.00615, allocations: 76.22 kB / 1.058 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002516/0.006407, allocations: 212.1 kB / 1.059 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001819/0.006598, allocations: 217 kB / 1.059 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002811/0.006885, allocations: 284.2 kB / 1.059 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.046e-05/0.006914, allocations: 24.12 kB / 1.059 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.869e-05/0.006938, allocations: 15.92 kB / 1.059 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003389/0.007281, allocations: 284.2 kB / 1.059 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of Tearing: time 7.965e-06/0.007297, allocations: 0 / 1.059 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of Initialization: time 3.71e-07/0.007302, allocations: 0 / 1.059 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of Tearing: time 3.777e-06/0.007309, allocations: 3.938 kB / 1.059 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of Categorize: time 8.356e-06/0.007321, allocations: 0 / 1.059 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of Solve: time 7.568e-05/0.0074, allocations: 35.97 kB / 1.059 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.787e-06/0.007412, allocations: 4 kB / 1.059 GB, free: 2.512 MB / 0.8262 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {chiSwi.hysteresis.y, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] 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 (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: ........... 13 (scalar:13, 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 4.343e-05/0.007459, allocations: 21.92 kB / 1.059 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005724/0.008036, allocations: 0.9245 MB / 1.06 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of Templates: time 0.002871/0.01092, allocations: 0.7854 MB / 1.061 GB, free: 0.7734 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches