Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.001679/0.001679, allocations: 97.33 kB / 19.71 MB, free: 2.117 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.00201/0.00201, allocations: 206.9 kB / 23.01 MB, free: 4.918 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.634/1.634, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.325/3.325, allocations: 0.49 GB / 0.7958 GB, free: 35.31 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.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.666e-05/3.666e-05, allocations: 2.281 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003238/0.003274, allocations: 1.452 MB / 1.156 GB, free: 24.45 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000968/0.004242, allocations: 435.7 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.004314, allocations: 2.469 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.004342, allocations: 0.625 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/0.004396, allocations: 3.938 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.004641, allocations: 23.53 kB / 1.157 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.004757, allocations: 41.09 kB / 1.157 GB, free: 24.13 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.004873, allocations: 10.47 kB / 1.157 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.005019, allocations: 21.19 kB / 1.157 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.005065, allocations: 16.56 kB / 1.157 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.005077, allocations: 2.156 kB / 1.157 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.395e-05/0.005121, allocations: 4.188 kB / 1.157 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.45e-05/0.005186, allocations: 55.7 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.946e-05/0.005205, allocations: 35.44 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.214e-05/0.005218, allocations: 4.562 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.117e-05/0.005229, allocations: 1.125 kB / 1.157 GB, free: 24.05 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0005409/0.00577, allocations: 283.1 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.019e-05/0.00582, allocations: 35.62 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001422/0.005962, allocations: 101.2 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 5.934e-05/0.006021, allocations: 73.98 kB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004592/0.006481, allocations: 193.1 kB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.683e-05/0.006527, allocations: 69.86 kB / 1.158 GB, free: 23.23 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.107e-05/0.006549, allocations: 34.41 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 6.3e-05/0.006612, allocations: 91.47 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 5.723e-05/0.006669, allocations: 12.09 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.171e-05/0.00674, allocations: 33.72 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 8.367e-05/0.006824, allocations: 33.28 kB / 1.158 GB, free: 23 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 5.598e-05/0.00688, allocations: 56.86 kB / 1.158 GB, free: 22.98 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001092/0.006989, allocations: 110.7 kB / 1.158 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 8.46e-05/0.007074, allocations: 94.33 kB / 1.158 GB, free: 22.77 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.598e-06/0.007083, allocations: 9.875 kB / 1.158 GB, free: 22.76 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.848e-05/0.007102, allocations: 14.58 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 9.853e-05/0.0072, allocations: 47.64 kB / 1.158 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.899e-06/0.00721, allocations: 5.031 kB / 1.158 GB, free: 22.72 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.72e-07/0.007211, allocations: 1.062 kB / 1.158 GB, free: 22.72 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.791e-06/0.007217, allocations: 4 kB / 1.158 GB, free: 22.72 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.803e-06/0.007219, allocations: 6.594 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.081e-06/0.007225, allocations: 4 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001555/0.007381, allocations: 78.09 kB / 1.158 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.476e-06/0.007389, allocations: 1.125 kB / 1.158 GB, free: 22.69 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: ........... 2 (scalar:2, 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: ........... 2 (scalar:2, 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: Performance of backend: time 3.722e-05/0.007426, allocations: 31.94 kB / 1.158 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004176/0.007844, allocations: 191.4 kB / 1.159 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.002837/0.01068, allocations: 403 kB / 1.159 GB, free: 22.44 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.133007609285414]