Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 112.5 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 250.1 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 496.2 MB / 0.7826 GB, free: 12.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.502e-05, allocations: 2.281 kB / 1.137 GB, free: 12.56 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003457/0.003482, allocations: 1.789 MB / 1.138 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.005192, allocations: 0.9434 MB / 1.139 GB, free: 9.809 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.28e-05/0.005275, allocations: 0 / 1.139 GB, free: 9.809 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.005863, allocations: 181.4 kB / 1.139 GB, free: 9.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.006272, allocations: 161.9 kB / 1.14 GB, free: 9.477 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.006778, allocations: 205 kB / 1.14 GB, free: 9.277 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.007184, allocations: 323.4 kB / 1.14 GB, free: 8.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.00733, allocations: 33.61 kB / 1.14 GB, free: 8.926 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.007561, allocations: 171.5 kB / 1.14 GB, free: 8.758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.007765, allocations: 147.5 kB / 1.14 GB, free: 8.613 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.007802, allocations: 16 kB / 1.14 GB, free: 8.598 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.007917, allocations: 43.97 kB / 1.14 GB, free: 8.555 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0003573/0.008275, allocations: 392.6 kB / 1.141 GB, free: 8.168 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0001407/0.008415, allocations: 189.4 kB / 1.141 GB, free: 7.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.008454, allocations: 27.88 kB / 1.141 GB, free: 7.953 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.976e-05/0.008483, allocations: 7.938 kB / 1.141 GB, free: 7.945 MB / 0.92 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.0008602/0.009344, allocations: 0.6712 MB / 1.142 GB, free: 7.16 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0001056/0.009449, allocations: 53.86 kB / 1.142 GB, free: 7.113 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0001632/0.009613, allocations: 148.2 kB / 1.142 GB, free: 6.941 MB / 0.92 GB Notification: Performance of Simplify 1: time 6.845e-05/0.009681, allocations: 48.42 kB / 1.142 GB, free: 6.867 MB / 0.92 GB Notification: Performance of Alias: time 0.0004848/0.01017, allocations: 245.7 kB / 1.142 GB, free: 6.566 MB / 0.92 GB Notification: Performance of Simplify 2: time 7.833e-05/0.01024, allocations: 48.41 kB / 1.142 GB, free: 6.492 MB / 0.92 GB Notification: Performance of Remove Stream: time 5.609e-05/0.0103, allocations: 52.36 kB / 1.142 GB, free: 6.414 MB / 0.92 GB Notification: Performance of Detect States: time 0.0002126/0.01051, allocations: 90.41 kB / 1.142 GB, free: 6.285 MB / 0.92 GB Notification: Performance of Events: time 5.628e-05/0.01057, allocations: 15.98 kB / 1.142 GB, free: 6.27 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0001067/0.01068, allocations: 72.09 kB / 1.142 GB, free: 6.191 MB / 0.92 GB Notification: Performance of Causalize: time 0.000347/0.01102, allocations: 240.2 kB / 1.143 GB, free: 5.949 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0001002/0.01112, allocations: 91.88 kB / 1.143 GB, free: 5.859 MB / 0.92 GB Notification: Performance of Simplify: time 0.002886/0.01401, allocations: 0.5452 MB / 1.143 GB, free: 5.332 MB / 0.92 GB Notification: Performance of Inline: time 0.0004307/0.01444, allocations: 371 kB / 1.144 GB, free: 4.969 MB / 0.92 GB Notification: Performance of Partitioning: time 3.557e-05/0.01447, allocations: 29.11 kB / 1.144 GB, free: 4.934 MB / 0.92 GB Notification: Performance of Cleanup: time 8.16e-05/0.01456, allocations: 79.94 kB / 1.144 GB, free: 4.855 MB / 0.92 GB Notification: Performance of Causalize: time 0.001973/0.01653, allocations: 1.405 MB / 1.145 GB, free: 3.438 MB / 0.92 GB Notification: Performance of Tearing: time 1.379e-05/0.01654, allocations: 0 / 1.145 GB, free: 3.438 MB / 0.92 GB Notification: Performance of Initialization: time 4.61e-07/0.01654, allocations: 0 / 1.145 GB, free: 3.438 MB / 0.92 GB Notification: Performance of Remove Dummies: time 9.689e-06/0.01655, allocations: 8 kB / 1.145 GB, free: 3.43 MB / 0.92 GB Notification: Performance of Tearing: time 1.442e-06/0.01655, allocations: 4 kB / 1.145 GB, free: 3.426 MB / 0.92 GB Notification: Performance of Categorize: time 9.307e-06/0.01656, allocations: 3.938 kB / 1.145 GB, free: 3.422 MB / 0.92 GB Notification: Performance of Solve: time 0.0002451/0.01681, allocations: 122 kB / 1.145 GB, free: 3.301 MB / 0.92 GB Notification: Performance of Jacobian: time 5.3e-06/0.01681, allocations: 0 / 1.145 GB, free: 3.301 MB / 0.92 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) {} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 0 (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 (resizable: 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: ........... 53 (scalar:49, array:2, record:2) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.1e-05/0.01687, allocations: 38.42 kB / 1.145 GB, free: 3.266 MB / 0.92 GB Notification: Performance of SimCode: time 0.003057/0.01992, allocations: 1.967 MB / 1.147 GB, free: 1.422 MB / 0.92 GB Notification: Performance of Templates: time 0.005935/0.02586, allocations: 2.279 MB / 1.149 GB, free: 15.18 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.36687238048762]