Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001463/0.001463, allocations: 88.22 kB / 20.22 MB, free: 1.309 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.00165/0.00165, allocations: 157.7 kB / 23.52 MB, free: 4.199 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.539/1.539, allocations: 177.1 MB / 203.9 MB, free: 9.055 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.505/3.505, allocations: 428.5 MB / 0.6727 GB, free: 9.613 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.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.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.DataCenter.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.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.799e-05, allocations: 10.19 kB / 0.877 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.004217/0.004245, allocations: 1.813 MB / 0.8788 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.006652, allocations: 1.085 MB / 0.8799 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.006818, allocations: 4.5 kB / 0.8799 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006542/0.007472, allocations: 188.5 kB / 0.88 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000665/0.008137, allocations: 217.9 kB / 0.8802 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.008824, allocations: 219.4 kB / 0.8805 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006875/0.009511, allocations: 355.3 kB / 0.8808 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.009735, allocations: 40.5 kB / 0.8808 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005318/0.01027, allocations: 231.5 kB / 0.8811 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.01049, allocations: 95.75 kB / 0.8811 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.01053, allocations: 12 kB / 0.8812 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.01069, allocations: 59.86 kB / 0.8812 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0005877/0.01127, allocations: 456.7 kB / 0.8817 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002297/0.0115, allocations: 233.2 kB / 0.8819 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.01154, allocations: 4 kB / 0.8819 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.918e-05/0.01158, allocations: 4 kB / 0.8819 GB, free: 13.07 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 [SIM] Bindings: time 0.001348/0.01293, allocations: 0.9158 MB / 0.8828 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of [SIM] FunctionAlias: time 0.0008564/0.01379, allocations: 454.7 kB / 0.8832 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of [SIM] Early Inline: time 0.001471/0.01526, allocations: 0.9032 MB / 0.8841 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of [SIM] Simplify 1: time 0.0002513/0.01551, allocations: 129.5 kB / 0.8842 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of [SIM] Alias: time 0.0009572/0.01647, allocations: 412.2 kB / 0.8846 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of [SIM] Simplify 2: time 0.0001865/0.01665, allocations: 125.5 kB / 0.8847 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of [SIM] Remove Stream: time 0.0001544/0.01681, allocations: 109.5 kB / 0.8848 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of [SIM] Detect States: time 0.000331/0.01714, allocations: 216.7 kB / 0.885 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of [SIM] Events: time 0.0001186/0.01726, allocations: 39.91 kB / 0.8851 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of [SIM] Partitioning: time 0.0003263/0.01758, allocations: 188.4 kB / 0.8853 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of [SIM] Causalize: time 0.0003706/0.01795, allocations: 223 kB / 0.8855 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005158/0.01847, allocations: 427.7 kB / 0.8859 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of [INI] Simplify: time 0.002255/0.02072, allocations: 0.4949 MB / 0.8864 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of [INI] Inline: time 0.0009948/0.02172, allocations: 0.7571 MB / 0.8871 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of [INI] Partitioning: time 6.39e-05/0.02178, allocations: 35.94 kB / 0.8871 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of [INI] Cleanup: time 0.0002401/0.02202, allocations: 147.8 kB / 0.8873 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of [INI] Causalize: time 0.004264/0.02629, allocations: 2.349 MB / 0.8896 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of [INI] Tearing: time 4.693e-05/0.02633, allocations: 40 kB / 0.8896 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of [SIM] Initialization: time 8.21e-07/0.02634, allocations: 0.9375 kB / 0.8896 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of [SIM] Remove Dummies: time 1.041e-05/0.02635, allocations: 8 kB / 0.8896 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of [SIM] Tearing: time 8.506e-06/0.02635, allocations: 12 kB / 0.8896 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of [SIM] Categorize: time 1.353e-05/0.02637, allocations: 4 kB / 0.8896 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of [SIM] Solve: time 0.0007019/0.02707, allocations: 398.5 kB / 0.89 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of [SIM] Jacobian: time 1.301e-05/0.02708, allocations: 4 kB / 0.89 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.31e-07/0.02708, allocations: 0 / 0.89 GB, free: 4.176 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) {} * Number of discrete variables: ................. 2 (2) {$SEV_0, $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: ........... 14 (scalar:14, 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: ........... 84 (scalar:39, array:45, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.878e-05/0.02716, allocations: 42.98 kB / 0.8901 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of SimCode: time 0.005395/0.03256, allocations: 2.895 MB / 0.8929 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.01106/0.04362, allocations: 4.318 MB / 0.8971 GB, free: 13.16 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.844179257750511]