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.001153/0.001153, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001645/0.002798, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001076/0.001076, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.00246, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9626/0.9626, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09317/1.056, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.422/2.422, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.243/2.665, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.058e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001782/0.001803, allocations: 0.9022 MB / 0.8192 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.00294, allocations: 1.224 MB / 0.8204 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.003008, allocations: 4 kB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.779e-05/0.003085, allocations: 31.72 kB / 0.8204 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.672e-05/0.003122, allocations: 15.81 kB / 0.8204 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.003415, allocations: 139.6 kB / 0.8205 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.003593, allocations: 175.5 kB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.003682, allocations: 34.19 kB / 0.8207 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.003791, allocations: 95.86 kB / 0.8208 GB, free: 272 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.274e-05/0.003884, allocations: 39.83 kB / 0.8209 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.003908, allocations: 16 kB / 0.8209 GB, free: 216 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.47e-05/0.003983, allocations: 31.91 kB / 0.8209 GB, free: 184 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.004003, allocations: 11.94 kB / 0.8209 GB, free: 172 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.004043, allocations: 31.94 kB / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.004198, allocations: 95.8 kB / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.004214, allocations: 4 kB / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004215, allocations: 0 / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.00423, allocations: 3.938 kB / 0.8211 GB, free: 36 kB / 0.7917 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.0004555/0.004685, allocations: 353.8 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.004717, allocations: 12.62 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.004754, allocations: 12.92 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.00494, allocations: 149.6 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.004958, allocations: 8.375 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.004972, allocations: 8.375 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.005072, allocations: 97.31 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.005079, allocations: 192 / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.005086, allocations: 384 / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.005092, allocations: 4.375 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.005118, allocations: 15.92 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.005394, allocations: 356.5 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/0.005439, allocations: 30.53 kB / 0.8221 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.236e-05/0.005451, allocations: 12.86 kB / 0.8221 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-06/0.005456, allocations: 4 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.672e-05/0.005543, allocations: 63.38 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.005544, allocations: 0 / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001122/0.005657, allocations: 57.61 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.005687, allocations: 51.41 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.005772, allocations: 157.4 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.005789, allocations: 29.7 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.005829, allocations: 100.1 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-06/0.005838, allocations: 3.953 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.005883, allocations: 41.62 kB / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.005955, allocations: 330.8 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.716e-05/0.006002, allocations: 53.69 kB / 0.8229 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.006046, allocations: 72.27 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.006107, allocations: 76.19 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.00611, allocations: 0 / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001186/0.006228, allocations: 156.9 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.006264, allocations: 41.69 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006268, allocations: 0 / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.006276, allocations: 4.062 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-05/0.006319, allocations: 4 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.006322, allocations: 0 / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.978e-05/0.006421, allocations: 23.88 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.006435, allocations: 11.98 kB / 0.8233 GB, free: 13.5 MB / 0.8073 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 5.92e-05/0.006494, allocations: 109.8 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-06/0.006504, allocations: 15.88 kB / 0.8234 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.006528, allocations: 12.33 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.00653, allocations: 0 / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.006532, allocations: 8 kB / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006535, allocations: 0 / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.931e-05/0.006604, allocations: 81.86 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006605, allocations: 0 / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.006619, allocations: 4 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.006632, allocations: 11.88 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006633, allocations: 0 / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.006637, allocations: 4 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.006637, allocations: 0 / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006639, allocations: 0 / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.193e-05/0.006711, allocations: 73.17 kB / 0.8236 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.006722, allocations: 11.94 kB / 0.8236 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.006736, allocations: 0 / 0.8236 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.006756, allocations: 7.938 kB / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.006759, allocations: 0 / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.006787, allocations: 38.44 kB / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006787, allocations: 0 / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001188/0.006905, allocations: 20 kB / 0.8237 GB, free: 13.06 MB / 0.8073 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.000114/0.007019, allocations: 94.53 kB / 0.8238 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.007146, allocations: 137.9 kB / 0.8239 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.00715, allocations: 4.125 kB / 0.8239 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.007167, allocations: 17.17 kB / 0.8239 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.007288, allocations: 19.98 kB / 0.8239 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.007774, allocations: 184.2 kB / 0.8241 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.68e-05/0.007811, allocations: 71.33 kB / 0.8242 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.007839, allocations: 8.719 kB / 0.8242 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.007917, allocations: 67.36 kB / 0.8243 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of SimCode: time 1.433e-06/0.007919, allocations: 4 kB / 0.8243 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of Templates: time 0.003737/0.01166, allocations: 1.717 MB / 0.8259 GB, free: 10.71 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.28034708276391]