Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001609/0.001609, 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.00173/0.00173, allocations: 217 kB / 23.07 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.492/1.492, allocations: 230.7 MB / 256.9 MB, free: 7.766 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.365/3.365, allocations: 0.5108 GB / 0.8167 GB, free: 17.74 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.423e-05, allocations: 3.828 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderInteger.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002224/0.002249, allocations: 0.8353 MB / 1.188 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.003737, allocations: 1.19 MB / 1.189 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.003855, allocations: 4.094 kB / 1.189 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.003993, allocations: 23.34 kB / 1.189 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.072e-05/0.004053, allocations: 16.44 kB / 1.189 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.004586, allocations: 145.9 kB / 1.189 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.004855, allocations: 187.1 kB / 1.189 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.004978, allocations: 29.89 kB / 1.189 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.005074, allocations: 66.28 kB / 1.19 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.005179, allocations: 49.31 kB / 1.19 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.005218, allocations: 18.78 kB / 1.19 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/0.005307, allocations: 30.64 kB / 1.19 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001759/0.005483, allocations: 214 kB / 1.19 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.847e-05/0.005551, allocations: 123.2 kB / 1.19 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.005598, allocations: 8.938 kB / 1.19 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.16e-05/0.005619, allocations: 2.219 kB / 1.19 GB, free: 11.61 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0006773/0.006297, allocations: 0.5843 MB / 1.191 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.59e-05/0.006363, allocations: 51.58 kB / 1.191 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0005471/0.00691, allocations: 380.6 kB / 1.191 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002327/0.007143, allocations: 171 kB / 1.191 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0008166/0.007959, allocations: 434.3 kB / 1.192 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001896/0.008149, allocations: 158.8 kB / 1.192 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001632/0.008312, allocations: 117.9 kB / 1.192 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002947/0.008607, allocations: 188 kB / 1.192 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.598e-05/0.008683, allocations: 24.95 kB / 1.192 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.707e-05/0.00877, allocations: 44.14 kB / 1.192 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001434/0.008913, allocations: 51.59 kB / 1.192 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002976/0.009211, allocations: 229 kB / 1.192 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006071/0.009818, allocations: 359.4 kB / 1.193 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0004298/0.01025, allocations: 337.6 kB / 1.193 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.26e-05/0.01027, allocations: 13.28 kB / 1.193 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 8.475e-05/0.01035, allocations: 61.42 kB / 1.193 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0005818/0.01094, allocations: 296 kB / 1.193 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.812e-05/0.01095, allocations: 15.03 kB / 1.193 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 6.11e-07/0.01096, allocations: 0 / 1.193 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.633e-05/0.01097, allocations: 11.23 kB / 1.193 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.11e-06/0.01098, allocations: 0.9375 kB / 1.193 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.176e-06/0.01098, allocations: 8.875 kB / 1.193 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.093e-06/0.01099, allocations: 5.062 kB / 1.193 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001103/0.0111, allocations: 55.02 kB / 1.193 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.948e-06/0.01111, allocations: 4 kB / 1.193 GB, free: 9.145 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.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {phNo.u, $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: ........... 3 (scalar:3, 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: ........... 15 (scalar:15, 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.861e-05/0.01115, allocations: 19.97 kB / 1.193 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007816/0.01193, allocations: 417 kB / 1.194 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of Templates: time 0.005055/0.01698, allocations: 1.326 MB / 1.195 GB, free: 8.738 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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,phNo.u_internal,phNo.y,phPar.have_inp,phPar.have_inpPh,phPar.ph.k,phPar.ph.y,phPar.u_internal,phPar.y,pul.amplitude,pul.booPul.period,pul.booPul.shift,pul.booPul.t0,pul.booPul.t1,pul.booPul.width,pul.booToInt.integerFalse,pul.booToInt.integerTrue,pul.offset,pul.period,pul.shift,pul.width,time [Calling sys.exit(0), Time elapsed: 8.741948931012303]