Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001279/0.001279, 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.00138/0.00138, allocations: 217.9 kB / 23.07 MB, free: 4.844 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.395/1.395, allocations: 230.7 MB / 256.9 MB, free: 7.762 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.054/3.054, allocations: 0.4893 GB / 0.7952 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] 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.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.031e-05, allocations: 2.281 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.001724/0.001744, allocations: 0.7373 MB / 1.155 GB, free: 25.06 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002954, allocations: 1.171 MB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.003015, allocations: 2.625 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.003143, allocations: 19.19 kB / 1.156 GB, free: 24.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.798e-05/0.003171, allocations: 13.62 kB / 1.156 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.003555, allocations: 131.3 kB / 1.156 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.003721, allocations: 134.3 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.003813, allocations: 28.31 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.003864, allocations: 44.31 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.003934, allocations: 41.34 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.003959, allocations: 9.219 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.004018, allocations: 18.3 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001049/0.004123, allocations: 159.4 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.458e-05/0.004157, allocations: 91.25 kB / 1.157 GB, free: 23.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.004183, allocations: 5.719 kB / 1.157 GB, free: 23.85 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.072e-05/0.004194, allocations: 1.25 kB / 1.157 GB, free: 23.85 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.0005239/0.004718, allocations: 480.1 kB / 1.157 GB, free: 23.42 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.311e-05/0.004761, allocations: 27.2 kB / 1.157 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003861/0.005147, allocations: 318.2 kB / 1.158 GB, free: 23.2 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000211/0.005358, allocations: 158.6 kB / 1.158 GB, free: 23.08 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0006012/0.005959, allocations: 343.5 kB / 1.158 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001716/0.006131, allocations: 146.4 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001174/0.006248, allocations: 113.8 kB / 1.158 GB, free: 22.63 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002341/0.006482, allocations: 171.9 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.227e-05/0.006545, allocations: 23.17 kB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.697e-05/0.006622, allocations: 31.41 kB / 1.159 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001018/0.006723, allocations: 50.11 kB / 1.159 GB, free: 22.4 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001983/0.006922, allocations: 186.8 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0004263/0.007348, allocations: 275.3 kB / 1.159 GB, free: 22.11 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002957/0.007644, allocations: 259.5 kB / 1.159 GB, free: 21.98 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.548e-05/0.007659, allocations: 12.59 kB / 1.159 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.419e-05/0.007713, allocations: 46.59 kB / 1.159 GB, free: 21.94 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002861/0.007999, allocations: 185 kB / 1.16 GB, free: 21.88 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.142e-05/0.008011, allocations: 10.28 kB / 1.16 GB, free: 21.87 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.008011, allocations: 0 / 1.16 GB, free: 21.87 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.545e-05/0.008027, allocations: 18.22 kB / 1.16 GB, free: 21.84 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.167e-06/0.008031, allocations: 1.125 kB / 1.16 GB, free: 21.84 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.854e-06/0.008033, allocations: 1.094 kB / 1.16 GB, free: 21.84 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.536e-06/0.008041, allocations: 2.266 kB / 1.16 GB, free: 21.84 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 8.161e-05/0.008123, allocations: 31.92 kB / 1.16 GB, free: 21.83 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.295e-06/0.008131, allocations: 0 / 1.16 GB, free: 21.83 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 3.49e-05/0.008166, allocations: 26.16 kB / 1.16 GB, free: 21.81 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005121/0.008678, allocations: 330 kB / 1.16 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.004181/0.01286, allocations: 1.136 MB / 1.161 GB, free: 21.47 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.044885337003507]