Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001133/0.001133, allocations: 113.5 kB / 16.43 MB, free: 6.523 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.001074/0.001074, allocations: 185.5 kB / 17.35 MB, free: 5.746 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.157/1.157, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.22/2.22, allocations: 469.8 MB / 0.7431 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.684e-05, allocations: 8.188 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002137/0.002162, allocations: 1.687 MB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000637/0.00281, allocations: 447 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.002862, allocations: 0 / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.002898, allocations: 7.875 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.581e-05/0.002974, allocations: 19.84 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.003121, allocations: 27.91 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.003242, allocations: 91.75 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.003335, allocations: 23.92 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/0.003425, allocations: 31.92 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.003489, allocations: 35.84 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.003513, allocations: 8 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.003531, allocations: 8 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.725e-05/0.003632, allocations: 122.6 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.505e-05/0.003673, allocations: 82.72 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.003697, allocations: 12 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.489e-05/0.003716, allocations: 7.938 kB / 1.068 GB, free: 10.98 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 Bindings: time 0.0003533/0.004074, allocations: 379.1 kB / 1.069 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.286e-05/0.004162, allocations: 39.86 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001328/0.004301, allocations: 148.2 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simplify1: time 5.22e-05/0.004361, allocations: 56.41 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of Alias: time 0.000341/0.004709, allocations: 229.7 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of simplify2: time 3.844e-05/0.004756, allocations: 44.42 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of Detect States: time 7.666e-05/0.004838, allocations: 66.22 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of Events: time 8.969e-05/0.004934, allocations: 55.83 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.551e-05/0.005005, allocations: 56.23 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002036/0.005214, allocations: 184 kB / 1.07 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001305/0.005352, allocations: 160.8 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of Inline: time 0.0002028/0.005561, allocations: 220.5 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.414e-05/0.005583, allocations: 16.12 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.455e-05/0.005622, allocations: 47.89 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002418/0.005868, allocations: 199.5 kB / 1.07 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of Tearing: time 7.294e-06/0.005883, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of Initialization: time 4.31e-07/0.005889, allocations: 4 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of Tearing: time 2.765e-06/0.005896, allocations: 3.938 kB / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of Categorize: time 7.524e-06/0.005907, allocations: 3.984 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of Solve: time 6.079e-05/0.005971, allocations: 35.91 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.514e-06/0.005979, allocations: 0 / 1.07 GB, free: 8.707 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: ......... 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 3.309e-05/0.006016, allocations: 35.88 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0004857/0.006507, allocations: 0.9208 MB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of Templates: time 0.002415/0.008931, allocations: 0.7803 MB / 1.072 GB, free: 6.953 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches