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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 489.2 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 - loaded program: time 0.00195/0.00195, allocations: 71.89 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9679/0.9699, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002169/0.9721, allocations: 0.8679 MB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.9738, allocations: 1.161 MB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.592e-05/0.9739, allocations: 7.031 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.974, allocations: 23.25 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.9741, allocations: 19.92 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.9746, allocations: 150.3 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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 NFFlatten.flatten: time 0.0002545/0.9749, allocations: 178 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.975, allocations: 38.92 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.9751, allocations: 61.53 kB / 1.265 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.9752, allocations: 57.75 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.9753, allocations: 14.97 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.9754, allocations: 27.83 kB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.9754, allocations: 21.41 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.716e-05/0.9755, allocations: 57.17 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.9758, allocations: 176.3 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.9758, allocations: 0 / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9758, allocations: 0 / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.9758, allocations: 0.6562 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005135/0.9763, allocations: 436.6 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9764, allocations: 9.656 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.9764, allocations: 12.69 kB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.9767, allocations: 225.5 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.9767, allocations: 9.016 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.9768, allocations: 8.016 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.9769, allocations: 82.06 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9769, allocations: 192 / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.9769, allocations: 9.828 kB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.9769, allocations: 1.031 kB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.33e-05/0.977, allocations: 32.3 kB / 1.266 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.9775, allocations: 0.5294 MB / 1.267 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.9776, allocations: 28.03 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.9776, allocations: 21.11 kB / 1.267 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.9776, allocations: 0.9062 kB / 1.267 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.9777, allocations: 60.92 kB / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 2.605e-06/0.9777, allocations: 0 / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002265/0.978, allocations: 89.45 kB / 1.267 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.978, allocations: 52.83 kB / 1.267 GB, free: 4.723 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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 selectInitializationVariablesDAE (initialization): time 0.0001759/0.9782, allocations: 178.5 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.9782, allocations: 28.69 kB / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.9783, allocations: 112.9 kB / 1.267 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.9783, allocations: 6.906 kB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.9784, allocations: 30.66 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.9784, allocations: 321.7 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.9785, allocations: 38.52 kB / 1.268 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/0.9786, allocations: 55.53 kB / 1.268 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.9787, allocations: 96.27 kB / 1.268 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.9788, allocations: 0 / 1.268 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003131/0.9791, allocations: 164.5 kB / 1.268 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.9791, allocations: 38.61 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9791, allocations: 1.062 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.9792, allocations: 2.016 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.9792, allocations: 7.688 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9792, allocations: 5 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.9795, allocations: 32.77 kB / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.9795, allocations: 6.109 kB / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/0.9796, allocations: 125.8 kB / 1.268 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.9796, allocations: 9.453 kB / 1.268 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.9796, allocations: 13.56 kB / 1.268 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9796, allocations: 0.9375 kB / 1.268 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9797, allocations: 4 kB / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.9797, allocations: 5.328 kB / 1.268 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.9798, allocations: 193 kB / 1.268 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9798, allocations: 0 / 1.268 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.9798, allocations: 3.875 kB / 1.268 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.9798, allocations: 3.938 kB / 1.268 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.9799, allocations: 1.562 kB / 1.268 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.9799, allocations: 0.6094 kB / 1.268 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9799, allocations: 0.6875 kB / 1.268 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.98, allocations: 102.7 kB / 1.268 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.98, allocations: 93.92 kB / 1.268 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.9801, allocations: 1.078 kB / 1.268 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.9801, allocations: 0.8125 kB / 1.268 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.9801, allocations: 10.88 kB / 1.268 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.9802, allocations: 2.328 kB / 1.269 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.786e-05/0.9803, allocations: 127.1 kB / 1.269 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9803, allocations: 0 / 1.269 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002215/0.9805, allocations: 27.31 kB / 1.269 GB, free: 3.164 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.9806, allocations: 110.2 kB / 1.269 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.9809, allocations: 133.9 kB / 1.269 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9809, allocations: 0 / 1.269 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.9809, allocations: 19.88 kB / 1.269 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.9812, allocations: 20.27 kB / 1.269 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.9815, allocations: 223.3 kB / 1.269 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.9817, allocations: 0.6962 MB / 1.27 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.9817, allocations: 12.91 kB / 1.27 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.9817, allocations: 0 / 1.27 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of Templates: time 0.00402/0.9858, allocations: 1.466 MB / 1.271 GB, free: 1.914 MB / 0.9981 GB " [Timeout remaining time 299] 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_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.852227012859657]