Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001091/0.001091, allocations: 114.8 kB / 16.43 MB, free: 6.508 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.001038/0.001038, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.465e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002832/0.002864, allocations: 1.675 MB / 0.9531 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000799/0.003675, allocations: 450.9 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.003737, allocations: 0 / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.003782, allocations: 7.875 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.764e-05/0.003875, allocations: 19.84 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.004077, allocations: 27.91 kB / 0.9536 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.004221, allocations: 91.7 kB / 0.9537 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.004363, allocations: 39.95 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.004476, allocations: 31.86 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.004557, allocations: 31.84 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.004591, allocations: 8 kB / 0.9538 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.004611, allocations: 8 kB / 0.9538 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001212/0.004736, allocations: 126.6 kB / 0.9539 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.617e-05/0.004778, allocations: 66.94 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.004804, allocations: 15.88 kB / 0.954 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.842e-05/0.004827, allocations: 11.88 kB / 0.954 GB, free: 5.148 MB / 0.7325 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.0004939/0.005325, allocations: 459 kB / 0.9544 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 0.0001001/0.005431, allocations: 35.92 kB / 0.9544 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0001873/0.005625, allocations: 196.3 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of simplify1: time 3.229e-05/0.005663, allocations: 19.97 kB / 0.9547 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of Alias: time 0.0004751/0.006143, allocations: 317.6 kB / 0.955 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of simplify2: time 1.684e-05/0.00617, allocations: 15.97 kB / 0.955 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001078/0.006283, allocations: 60.22 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of Events: time 0.0001107/0.0064, allocations: 78.02 kB / 0.9551 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of Partitioning: time 8.826e-05/0.006494, allocations: 72.23 kB / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002553/0.006757, allocations: 204.1 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001847/0.006949, allocations: 212.5 kB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of Inline: time 0.0002822/0.007237, allocations: 297.8 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.187e-05/0.007267, allocations: 24.12 kB / 0.9559 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.53e-05/0.007288, allocations: 7.984 kB / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003195/0.007611, allocations: 276.3 kB / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of Tearing: time 1.162e-05/0.007633, allocations: 4 kB / 0.9562 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of Initialization: time 4.91e-07/0.007638, allocations: 0 / 0.9562 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of Tearing: time 3.406e-06/0.007645, allocations: 0 / 0.9562 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of Categorize: time 1.216e-05/0.007661, allocations: 7.922 kB / 0.9562 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of Solve: time 7.284e-05/0.007738, allocations: 43.84 kB / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of Jacobian: time 9.518e-06/0.007753, allocations: 4 kB / 0.9562 GB, free: 2.547 MB / 0.7325 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.168e-05/0.007799, allocations: 27.59 kB / 0.9562 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0006185/0.008422, allocations: 0.9325 MB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.003105/0.01154, allocations: 0.7653 MB / 0.9579 GB, free: 0.8086 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches