Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001276/0.001276, 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.001901/0.001901, allocations: 216.5 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.379/1.379, allocations: 230.7 MB / 256.9 MB, free: 7.734 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.005/3.005, allocations: 0.4893 GB / 0.7952 GB, free: 35.57 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.172e-05, allocations: 4.609 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.001956/0.001978, allocations: 0.8394 MB / 1.155 GB, free: 25 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.003288, allocations: 1.186 MB / 1.156 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.003356, allocations: 6.406 kB / 1.156 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.003488, allocations: 25.58 kB / 1.156 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/0.00354, allocations: 28.45 kB / 1.156 GB, free: 24.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.004003, allocations: 141.7 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.00421, allocations: 178.3 kB / 1.157 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.004325, allocations: 35.36 kB / 1.157 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.004392, allocations: 64.34 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.004474, allocations: 43.91 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.004506, allocations: 16 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.004573, allocations: 27.02 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001471/0.00472, allocations: 218.5 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.831e-05/0.004768, allocations: 123.4 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.004801, allocations: 9.625 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.464e-05/0.004816, allocations: 7.438 kB / 1.157 GB, free: 23.62 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.0006039/0.00542, allocations: 0.5752 MB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.634e-05/0.005466, allocations: 43.33 kB / 1.158 GB, free: 23.08 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0004275/0.005893, allocations: 390 kB / 1.158 GB, free: 22.84 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001882/0.006082, allocations: 163.5 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0006101/0.006692, allocations: 431.6 kB / 1.159 GB, free: 22.4 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.000152/0.006844, allocations: 157.4 kB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001082/0.006952, allocations: 120.3 kB / 1.159 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002091/0.007161, allocations: 194.1 kB / 1.159 GB, free: 22 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 5.171e-05/0.007213, allocations: 19.97 kB / 1.159 GB, free: 22 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 6.759e-05/0.00728, allocations: 38.41 kB / 1.159 GB, free: 21.97 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001243/0.007405, allocations: 66.2 kB / 1.159 GB, free: 21.94 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001857/0.00759, allocations: 216.4 kB / 1.16 GB, free: 21.83 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0004554/0.008046, allocations: 370.3 kB / 1.16 GB, free: 21.57 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002842/0.00833, allocations: 342.1 kB / 1.16 GB, free: 21.37 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.607e-05/0.008346, allocations: 12.11 kB / 1.16 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.953e-05/0.008395, allocations: 57.06 kB / 1.16 GB, free: 21.32 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004407/0.008836, allocations: 299.2 kB / 1.161 GB, free: 21.24 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.387e-05/0.00885, allocations: 11.12 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.5e-07/0.00885, allocations: 0 / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.393e-05/0.008864, allocations: 11.78 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.689e-06/0.008869, allocations: 0.5156 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.793e-06/0.008871, allocations: 2.188 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.181e-06/0.008877, allocations: 1.594 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 9.994e-05/0.008977, allocations: 65.41 kB / 1.161 GB, free: 21.19 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.898e-06/0.008987, allocations: 0.75 kB / 1.161 GB, free: 21.19 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.353e-05/0.00902, allocations: 27.09 kB / 1.161 GB, free: 21.17 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005825/0.009603, allocations: 432.2 kB / 1.161 GB, free: 20.94 MB / 0.9044 GB Notification: Performance of Templates: time 0.003992/0.0136, allocations: 1.33 MB / 1.162 GB, free: 20.76 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.039946712029632]