Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 115.9 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.001438/0.001438, allocations: 182 kB / 17.36 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.13/1.13, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.206/2.206, allocations: 469.8 MB / 0.7431 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/1.88e-05, allocations: 2.281 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002513/0.00254, allocations: 1.787 MB / 1.068 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003874, allocations: 0.9162 MB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.805e-05/0.003983, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.004438, allocations: 196.1 kB / 1.069 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.004813, allocations: 156 kB / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.005255, allocations: 214.9 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.005568, allocations: 251.5 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.005693, allocations: 41.59 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.005855, allocations: 103.7 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.006035, allocations: 135.6 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.00608, allocations: 16 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.126e-05/0.006176, allocations: 47.92 kB / 1.07 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002366/0.006419, allocations: 320.7 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001092/0.006534, allocations: 189.3 kB / 1.07 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.006574, allocations: 23.94 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.232e-05/0.00661, allocations: 7.938 kB / 1.07 GB, free: 9.262 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: 12 (12) * Number of variables: 12 (11) Notification: Performance of Bindings: time 0.0006422/0.007258, allocations: 0.6331 MB / 1.071 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.43e-05/0.007349, allocations: 49.09 kB / 1.071 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001393/0.007495, allocations: 144.3 kB / 1.071 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of simplify1: time 5.459e-05/0.007555, allocations: 52.39 kB / 1.071 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of Alias: time 0.000365/0.007926, allocations: 205.6 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of simplify2: time 4.929e-05/0.007984, allocations: 48.41 kB / 1.071 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of Detect States: time 6.866e-05/0.008058, allocations: 52.16 kB / 1.071 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of Events: time 5.615e-05/0.008121, allocations: 28.2 kB / 1.071 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.668e-05/0.008193, allocations: 44.12 kB / 1.071 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003032/0.008502, allocations: 239.8 kB / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001238/0.008633, allocations: 128.3 kB / 1.072 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of Inline: time 0.002202/0.01084, allocations: 0.6739 MB / 1.072 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.022e-05/0.01087, allocations: 12.12 kB / 1.072 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of Cleanup: time 5.442e-05/0.01093, allocations: 55.95 kB / 1.072 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001416/0.01235, allocations: 1.287 MB / 1.074 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of Tearing: time 1.138e-05/0.01237, allocations: 3.938 kB / 1.074 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of Initialization: time 4.41e-07/0.01237, allocations: 0 / 1.074 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of Tearing: time 3.526e-06/0.01238, allocations: 4 kB / 1.074 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of Categorize: time 6.231e-06/0.01239, allocations: 0 / 1.074 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001592/0.01255, allocations: 111.9 kB / 1.074 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.695e-06/0.01256, allocations: 0 / 1.074 GB, free: 5.246 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: ......... 1 * 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: ................. 1 (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: ........... 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 25 (scalar:17, array:6, record:2) * 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.869e-05/0.0126, allocations: 14.98 kB / 1.074 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001937/0.01454, allocations: 1.98 MB / 1.076 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of Templates: time 0.00442/0.01897, allocations: 2.115 MB / 1.078 GB, free: 1.277 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches