Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.001914/0.001914, allocations: 107.6 kB / 18.34 MB, free: 4.074 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.001534/0.001534, allocations: 188.5 kB / 21.52 MB, free: 0.9062 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.475/1.475, 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.829/2.829, allocations: 496.2 MB / 0.7826 GB, free: 12.29 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.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.834e-05, allocations: 2.281 kB / 1.137 GB, free: 12.54 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002923/0.002952, allocations: 1.442 MB / 1.138 GB, free: 11.08 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008033/0.003755, allocations: 403.1 kB / 1.138 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.003794, allocations: 0 / 1.138 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.003826, allocations: 0 / 1.138 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.296e-05/0.003879, allocations: 15.86 kB / 1.138 GB, free: 10.67 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.004054, allocations: 3.984 kB / 1.138 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.59e-05/0.00414, allocations: 27.92 kB / 1.138 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.00424, allocations: 8 kB / 1.138 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.874e-05/0.004329, allocations: 15.92 kB / 1.138 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.004374, allocations: 7.938 kB / 1.138 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.004393, allocations: 4 kB / 1.138 GB, free: 10.6 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-06/0.004401, allocations: 0 / 1.138 GB, free: 10.6 MB / 0.92 GB Notification: Performance of combineBinaries: time 7.893e-05/0.00448, allocations: 47.47 kB / 1.138 GB, free: 10.55 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 1.935e-05/0.004499, allocations: 27.59 kB / 1.138 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.00452, allocations: 8 kB / 1.138 GB, free: 10.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.168e-05/0.004531, allocations: 3.938 kB / 1.138 GB, free: 10.52 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0004239/0.004955, allocations: 245.4 kB / 1.139 GB, free: 10.16 MB / 0.92 GB Notification: Performance of FunctionAlias: time 9.07e-05/0.005046, allocations: 26.67 kB / 1.139 GB, free: 10.14 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0001009/0.005147, allocations: 76.52 kB / 1.139 GB, free: 10.04 MB / 0.92 GB Notification: Performance of Simplify 1: time 6.446e-05/0.005211, allocations: 40.36 kB / 1.139 GB, free: 9.969 MB / 0.92 GB Notification: Performance of Alias: time 0.000467/0.005678, allocations: 160.8 kB / 1.139 GB, free: 9.754 MB / 0.92 GB Notification: Performance of Simplify 2: time 4.315e-05/0.005722, allocations: 36.62 kB / 1.139 GB, free: 9.691 MB / 0.92 GB Notification: Performance of Remove Stream: time 4.826e-05/0.00577, allocations: 44.36 kB / 1.139 GB, free: 9.621 MB / 0.92 GB Notification: Performance of Detect States: time 0.0001819/0.005952, allocations: 67.05 kB / 1.139 GB, free: 9.516 MB / 0.92 GB Notification: Performance of Events: time 6.024e-05/0.006012, allocations: 19.92 kB / 1.139 GB, free: 9.496 MB / 0.92 GB Notification: Performance of Partitioning: time 5.896e-05/0.006071, allocations: 28.11 kB / 1.139 GB, free: 9.461 MB / 0.92 GB Notification: Performance of Causalize: time 0.000127/0.006198, allocations: 72.06 kB / 1.139 GB, free: 9.383 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 3.63e-05/0.006234, allocations: 31.97 kB / 1.139 GB, free: 9.352 MB / 0.92 GB Notification: Performance of Simplify: time 0.0001268/0.006361, allocations: 88.62 kB / 1.139 GB, free: 9.215 MB / 0.92 GB Notification: Performance of Inline: time 5.211e-05/0.006413, allocations: 48.02 kB / 1.139 GB, free: 9.164 MB / 0.92 GB Notification: Performance of Partitioning: time 1.586e-05/0.006429, allocations: 12.12 kB / 1.139 GB, free: 9.145 MB / 0.92 GB Notification: Performance of Cleanup: time 1.791e-05/0.006447, allocations: 11.98 kB / 1.139 GB, free: 9.133 MB / 0.92 GB Notification: Performance of Causalize: time 0.000134/0.006581, allocations: 80.28 kB / 1.14 GB, free: 9.047 MB / 0.92 GB Notification: Performance of Tearing: time 1.246e-05/0.006593, allocations: 4 kB / 1.14 GB, free: 9.043 MB / 0.92 GB Notification: Performance of Initialization: time 2.81e-07/0.006594, allocations: 0 / 1.14 GB, free: 9.043 MB / 0.92 GB Notification: Performance of Remove Dummies: time 3.787e-06/0.006597, allocations: 3.938 kB / 1.14 GB, free: 9.039 MB / 0.92 GB Notification: Performance of Tearing: time 2.685e-06/0.0066, allocations: 4 kB / 1.14 GB, free: 9.035 MB / 0.92 GB Notification: Performance of Categorize: time 8.376e-06/0.006608, allocations: 3.984 kB / 1.14 GB, free: 9.031 MB / 0.92 GB Notification: Performance of Solve: time 5.557e-05/0.006664, allocations: 15.98 kB / 1.14 GB, free: 9.016 MB / 0.92 GB Notification: Performance of Jacobian: time 7.164e-06/0.006671, allocations: 0 / 1.14 GB, free: 9.016 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: ........... 3 (scalar:3, 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: ........... 3 (scalar:3, 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 4.545e-05/0.006717, allocations: 21.8 kB / 1.14 GB, free: 8.996 MB / 0.92 GB Notification: Performance of SimCode: time 0.0006661/0.007383, allocations: 0.7981 MB / 1.14 GB, free: 8.172 MB / 0.92 GB Notification: Performance of Templates: time 0.002786/0.01017, allocations: 339.9 kB / 1.141 GB, free: 7.844 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,kMinU.u,kMinU.y Variables in the result:kMinU.k,kMinU.u,kMinU.y,pulse.amplitude,pulse.f,pulse.offset,pulse.phase,pulse.startTime,time [Calling sys.exit(0), Time elapsed: 8.329063192941248]