Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 104.3 kB / 19.72 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 216.4 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.635/1.635, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.376/3.376, allocations: 0.49 GB / 0.7958 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.434e-05, allocations: 4.391 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003217/0.003251, allocations: 1.792 MB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.004992, allocations: 1.086 MB / 1.158 GB, free: 23.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.005092, allocations: 5.906 kB / 1.158 GB, free: 23.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.005663, allocations: 196.9 kB / 1.158 GB, free: 23.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.006146, allocations: 221.9 kB / 1.158 GB, free: 23.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.006655, allocations: 225.3 kB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.007102, allocations: 364.6 kB / 1.159 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.007284, allocations: 47.88 kB / 1.159 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.007585, allocations: 182.9 kB / 1.159 GB, free: 22.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.00781, allocations: 152.2 kB / 1.159 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.007853, allocations: 18.56 kB / 1.159 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.007982, allocations: 52.7 kB / 1.159 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0003865/0.008368, allocations: 463.5 kB / 1.16 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001516/0.00852, allocations: 260.3 kB / 1.16 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.008552, allocations: 6.625 kB / 1.16 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.769e-05/0.00858, allocations: 4.5 kB / 1.16 GB, free: 22.27 MB / 0.9044 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 [SIM] Bindings: time 0.0009435/0.009523, allocations: 0.9361 MB / 1.161 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001322/0.009655, allocations: 76.95 kB / 1.161 GB, free: 21.48 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002234/0.009879, allocations: 221.9 kB / 1.161 GB, free: 21.31 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 9.137e-05/0.00997, allocations: 84.69 kB / 1.161 GB, free: 21.21 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000471/0.01044, allocations: 290.2 kB / 1.161 GB, free: 20.98 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 8.181e-05/0.01052, allocations: 85.3 kB / 1.162 GB, free: 20.87 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.463e-05/0.01056, allocations: 55.23 kB / 1.162 GB, free: 20.8 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 8.464e-05/0.01064, allocations: 102.4 kB / 1.162 GB, free: 20.67 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 5.076e-05/0.01069, allocations: 18.94 kB / 1.162 GB, free: 20.66 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001304/0.01082, allocations: 83.19 kB / 1.162 GB, free: 20.61 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000312/0.01114, allocations: 183.1 kB / 1.162 GB, free: 20.55 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001177/0.01125, allocations: 132.9 kB / 1.162 GB, free: 20.48 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.003191/0.01444, allocations: 0.6486 MB / 1.163 GB, free: 20.11 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0005342/0.01498, allocations: 0.5772 MB / 1.163 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 3.398e-05/0.01501, allocations: 17.78 kB / 1.163 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 7.156e-05/0.01508, allocations: 74.48 kB / 1.163 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001612/0.0167, allocations: 1.122 MB / 1.164 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.523e-05/0.01672, allocations: 27.19 kB / 1.165 GB, free: 19.46 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 6.21e-07/0.01672, allocations: 0 / 1.165 GB, free: 19.46 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.061e-06/0.01673, allocations: 0 / 1.165 GB, free: 19.46 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.158e-06/0.01673, allocations: 10.41 kB / 1.165 GB, free: 19.45 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.006e-05/0.01674, allocations: 1.734 kB / 1.165 GB, free: 19.45 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.000479/0.01722, allocations: 366.6 kB / 1.165 GB, free: 19.31 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.185e-06/0.01723, allocations: 0 / 1.165 GB, free: 19.31 MB / 0.9044 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: ........... 12 (scalar:12, 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: ........... 52 (scalar:48, 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 3.813e-05/0.01727, allocations: 29.7 kB / 1.165 GB, free: 19.29 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00318/0.02045, allocations: 1.471 MB / 1.166 GB, free: 18.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.008877/0.02932, allocations: 2.551 MB / 1.169 GB, free: 18.34 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.358161129057407]