Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001739/0.001739, allocations: 111 kB / 16.42 MB, free: 6.527 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.001699/0.001699, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.118/1.118, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.059/2.059, allocations: 437 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.507e-05, allocations: 2.281 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002115/0.002138, allocations: 1.679 MB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000626/0.002775, allocations: 454.9 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.002824, allocations: 0 / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.00286, allocations: 7.938 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.002932, allocations: 15.8 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.003081, allocations: 27.97 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.003198, allocations: 91.69 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.003294, allocations: 31.92 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.003384, allocations: 39.86 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.003451, allocations: 35.83 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.003475, allocations: 8 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.003494, allocations: 8 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of combineBinaries: time 9.64e-05/0.003594, allocations: 118.6 kB / 1.022 GB, free: 6.98 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.212e-05/0.003633, allocations: 78.78 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.003656, allocations: 8 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.83e-05/0.003679, allocations: 11.88 kB / 1.022 GB, free: 6.883 MB / 0.795 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.0004006/0.004083, allocations: 455 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of FunctionAlias: time 7.827e-05/0.004167, allocations: 35.91 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001608/0.004334, allocations: 208.2 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of simplify1: time 2.547e-05/0.004365, allocations: 15.97 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of Alias: time 0.0003847/0.004754, allocations: 309.7 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of simplify2: time 1.43e-05/0.004779, allocations: 15.98 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of Detect States: time 7.961e-05/0.004862, allocations: 74.84 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of Events: time 8.552e-05/0.004954, allocations: 59.88 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of Partitioning: time 8.256e-05/0.005043, allocations: 68.23 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002278/0.005277, allocations: 212.1 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001593/0.005444, allocations: 216.4 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of Inline: time 0.0002391/0.00569, allocations: 292.3 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of Partitioning: time 1.953e-05/0.005716, allocations: 20.11 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of Cleanup: time 1.387e-05/0.005736, allocations: 19.92 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002862/0.006026, allocations: 262.5 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of Tearing: time 7.715e-06/0.006042, allocations: 0 / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of Initialization: time 4.81e-07/0.006048, allocations: 4 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of Tearing: time 1.142e-05/0.006063, allocations: 12.48 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of Categorize: time 6.913e-06/0.006074, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of Solve: time 6.403e-05/0.006141, allocations: 39.95 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of Jacobian: time 2.214e-06/0.006149, allocations: 0 / 1.024 GB, free: 4.297 MB / 0.795 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 2.806e-05/0.00618, allocations: 27.52 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of SimCode: time 0.0004927/0.006677, allocations: 0.9299 MB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of Templates: time 0.002294/0.00898, allocations: 0.7848 MB / 1.026 GB, free: 2.547 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches