Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.00147/0.00147, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001631/0.001631, allocations: 215.7 kB / 23.06 MB, free: 4.848 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.342/1.342, allocations: 230.7 MB / 256.9 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.571/2.571, allocations: 476 MB / 0.7708 GB, free: 4.637 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.817e-05, allocations: 2.281 kB / 1.118 GB, free: 40.99 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001605/0.001624, allocations: 0.7254 MB / 1.119 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.002683, allocations: 1.173 MB / 1.12 GB, free: 40.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.002739, allocations: 6.844 kB / 1.12 GB, free: 40.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.002854, allocations: 16.5 kB / 1.12 GB, free: 40.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.627e-05/0.002881, allocations: 11.3 kB / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.003264, allocations: 138.3 kB / 1.12 GB, free: 40.85 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.003421, allocations: 137.2 kB / 1.12 GB, free: 40.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.003505, allocations: 22.66 kB / 1.12 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.003558, allocations: 45.86 kB / 1.12 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.597e-05/0.003624, allocations: 35.78 kB / 1.12 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.003647, allocations: 10.5 kB / 1.12 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.614e-05/0.003703, allocations: 23 kB / 1.12 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of combineBinaries: time 9.841e-05/0.003802, allocations: 158.8 kB / 1.12 GB, free: 40.78 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.22e-05/0.003824, allocations: 87.92 kB / 1.12 GB, free: 40.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.003849, allocations: 8.875 kB / 1.12 GB, free: 40.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.134e-05/0.00386, allocations: 6.938 kB / 1.12 GB, free: 40.72 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0003943/0.004255, allocations: 462.8 kB / 1.121 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.15e-05/0.004286, allocations: 42.95 kB / 1.121 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002427/0.004529, allocations: 318.9 kB / 1.121 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001179/0.004647, allocations: 152.9 kB / 1.121 GB, free: 40.22 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003891/0.005036, allocations: 348.8 kB / 1.122 GB, free: 40.05 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001044/0.00514, allocations: 145.9 kB / 1.122 GB, free: 39.96 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 7.795e-05/0.005218, allocations: 110.9 kB / 1.122 GB, free: 39.9 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001562/0.005375, allocations: 174.1 kB / 1.122 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 4.104e-05/0.005416, allocations: 18.97 kB / 1.122 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.162e-05/0.005467, allocations: 30.38 kB / 1.122 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 7.773e-05/0.005545, allocations: 56.98 kB / 1.122 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001088/0.005654, allocations: 176.6 kB / 1.122 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002646/0.005918, allocations: 293.2 kB / 1.123 GB, free: 39.58 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001657/0.006084, allocations: 261.5 kB / 1.123 GB, free: 39.57 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.009e-05/0.006094, allocations: 11.08 kB / 1.123 GB, free: 39.55 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.141e-05/0.006125, allocations: 40.3 kB / 1.123 GB, free: 39.55 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002002/0.006326, allocations: 179.3 kB / 1.123 GB, free: 39.52 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 8.065e-06/0.006334, allocations: 3.844 kB / 1.123 GB, free: 39.52 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.006334, allocations: 0 / 1.123 GB, free: 39.52 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.013e-05/0.006344, allocations: 16.12 kB / 1.123 GB, free: 39.5 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.917e-06/0.006348, allocations: 3.969 kB / 1.123 GB, free: 39.5 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.042e-06/0.006349, allocations: 0 / 1.123 GB, free: 39.5 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.699e-06/0.006354, allocations: 1.781 kB / 1.123 GB, free: 39.5 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 5.333e-05/0.006407, allocations: 34.73 kB / 1.123 GB, free: 39.5 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.861e-06/0.006413, allocations: 0.5625 kB / 1.123 GB, free: 39.5 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: .................... 1 (1) {pul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$TEV_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: ............ 1 (algorithm:0, when:1, 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: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 2.662e-05/0.00644, allocations: 18.25 kB / 1.123 GB, free: 39.49 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003619/0.006802, allocations: 327.5 kB / 1.124 GB, free: 39.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.002989/0.009791, allocations: 1.136 MB / 1.125 GB, free: 39.29 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,phNo.y,phPar.y,phInp.y Variables in the result:con.k,con.y,phInp.have_inp,phInp.have_inpPh,phInp.uPh,phInp.u_internal,phInp.y,phNo.have_inp,phNo.have_inpPh,phNo.u_internal,phNo.y,phPar.have_inp,phPar.have_inpPh,phPar.ph.k,phPar.ph.y,phPar.u_internal,phPar.y,pul.period,pul.shift,pul.t0,pul.t1,pul.width,pul.y,time [Calling sys.exit(0), Time elapsed: 7.431046192999929]