Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001343/0.001343, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001407/0.001407, allocations: 215 kB / 23.06 MB, free: 4.984 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.447/1.447, allocations: 230.7 MB / 256.9 MB, free: 7.781 MB / 206.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.355/3.355, allocations: 0.5108 GB / 0.8167 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.187e-05, allocations: 2.281 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.001893/0.001915, allocations: 0.7412 MB / 1.188 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.00331, allocations: 1.16 MB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.003392, allocations: 2.844 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.003521, allocations: 24.39 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.935e-05/0.003561, allocations: 16.58 kB / 1.189 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.004058, allocations: 131.2 kB / 1.189 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.004281, allocations: 133.3 kB / 1.189 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.004395, allocations: 24 kB / 1.189 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.004475, allocations: 46.62 kB / 1.189 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.004568, allocations: 36.75 kB / 1.189 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.004598, allocations: 8.5 kB / 1.189 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.004674, allocations: 22.8 kB / 1.189 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001314/0.004805, allocations: 160.4 kB / 1.19 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.442e-05/0.00484, allocations: 83.72 kB / 1.19 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.004878, allocations: 8.094 kB / 1.19 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.626e-05/0.004894, allocations: 5 kB / 1.19 GB, free: 11.79 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.0005598/0.005454, allocations: 466.2 kB / 1.19 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.923e-05/0.005503, allocations: 34.2 kB / 1.19 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003845/0.005887, allocations: 325 kB / 1.19 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000171/0.006058, allocations: 157.6 kB / 1.191 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005634/0.006622, allocations: 354.7 kB / 1.191 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001483/0.00677, allocations: 147 kB / 1.191 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001188/0.006889, allocations: 115.3 kB / 1.191 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002274/0.007116, allocations: 160 kB / 1.191 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.252e-05/0.007179, allocations: 20.8 kB / 1.191 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 6.655e-05/0.007246, allocations: 33.88 kB / 1.191 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 9.653e-05/0.007342, allocations: 48.27 kB / 1.191 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001817/0.007524, allocations: 187.9 kB / 1.192 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003607/0.007884, allocations: 286.9 kB / 1.192 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002853/0.00817, allocations: 255.1 kB / 1.192 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.496e-05/0.008185, allocations: 20.77 kB / 1.192 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.685e-05/0.008242, allocations: 38.48 kB / 1.192 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002986/0.00854, allocations: 171.5 kB / 1.192 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.483e-05/0.008555, allocations: 6.156 kB / 1.192 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.22e-07/0.008556, allocations: 0 / 1.192 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.541e-05/0.008571, allocations: 14.8 kB / 1.192 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.627e-06/0.008575, allocations: 0 / 1.192 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.294e-06/0.008577, allocations: 1.156 kB / 1.192 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.945e-06/0.008585, allocations: 9.594 kB / 1.192 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 6.807e-05/0.008653, allocations: 33.16 kB / 1.192 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.466e-06/0.008662, allocations: 0 / 1.192 GB, free: 9.762 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 4.021e-05/0.008702, allocations: 15.59 kB / 1.192 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006258/0.009328, allocations: 321 kB / 1.193 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of Templates: time 0.004642/0.01397, allocations: 1.161 MB / 1.194 GB, free: 9.402 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.639870634011459]