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.0007408/0.0007408, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.001897, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007184/0.0007184, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009838/0.001702, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9304/0.9304, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09026/1.021, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.867/1.867, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4448/2.312, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.781e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.445 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.002775/0.002803, allocations: 0.913 MB / 0.7305 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.004421, allocations: 1.221 MB / 0.7317 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.004516, allocations: 7.938 kB / 0.7317 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.004637, allocations: 22.39 kB / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.004694, allocations: 21.62 kB / 0.7318 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.005156, allocations: 140.1 kB / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.005499, allocations: 170.8 kB / 0.7321 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.005636, allocations: 30.86 kB / 0.7321 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.005837, allocations: 95.84 kB / 0.7322 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.005958, allocations: 45 kB / 0.7322 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.005998, allocations: 16 kB / 0.7322 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.006108, allocations: 23.98 kB / 0.7323 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.006144, allocations: 15.06 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.006201, allocations: 31.94 kB / 0.7323 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.006463, allocations: 103.6 kB / 0.7324 GB, free: 1.648 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/0.00648, allocations: 0 / 0.7324 GB, free: 1.648 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.006481, allocations: 0 / 0.7324 GB, free: 1.648 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.0065, allocations: 3.984 kB / 0.7324 GB, free: 1.645 MB / 0.698 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.0005846/0.007085, allocations: 353.8 kB / 0.7327 GB, free: 1.266 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.007146, allocations: 8.031 kB / 0.7327 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.007201, allocations: 17.42 kB / 0.7328 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.007422, allocations: 151.4 kB / 0.7329 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.007443, allocations: 5.781 kB / 0.7329 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.007467, allocations: 8.375 kB / 0.7329 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.007583, allocations: 89.45 kB / 0.733 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.007593, allocations: 192 / 0.733 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.007602, allocations: 4.891 kB / 0.733 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.007609, allocations: 1.875 kB / 0.733 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.197e-05/0.007641, allocations: 19.88 kB / 0.733 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.007992, allocations: 364.5 kB / 0.7334 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.601e-05/0.008048, allocations: 27.59 kB / 0.7334 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.008066, allocations: 12.86 kB / 0.7334 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.008073, allocations: 4.438 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.008179, allocations: 64.94 kB / 0.7335 GB, free: 432 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/0.008181, allocations: 0 / 0.7335 GB, free: 432 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001453/0.008326, allocations: 61.61 kB / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.008409, allocations: 51.41 kB / 0.7336 GB, free: 300 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.008525, allocations: 149.1 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.008547, allocations: 33.7 kB / 0.7338 GB, free: 100 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.008635, allocations: 101.6 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.00865, allocations: 11.94 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.008717, allocations: 37.67 kB / 0.7339 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.008806, allocations: 314.8 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.008873, allocations: 55.31 kB / 0.7343 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.008938, allocations: 72.25 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.943e-05/0.009027, allocations: 81.52 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.009029, allocations: 0 / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001755/0.009205, allocations: 156.8 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.009257, allocations: 38.34 kB / 0.7346 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.009264, allocations: 4 kB / 0.7346 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.00928, allocations: 1.125 kB / 0.7346 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.009344, allocations: 7.938 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.009349, allocations: 8 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.009485, allocations: 24.81 kB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.009501, allocations: 8.766 kB / 0.7347 GB, free: 15.12 MB / 0.7136 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.861e-05/0.00958, allocations: 118.4 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.009595, allocations: 7.984 kB / 0.7348 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.009624, allocations: 13.25 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.009627, allocations: 0 / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.009628, allocations: 0.5625 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.009631, allocations: 0 / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.282e-05/0.009724, allocations: 87.36 kB / 0.7349 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009726, allocations: 0 / 0.7349 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.009743, allocations: 0 / 0.7349 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.009759, allocations: 12.12 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.009761, allocations: 1.344 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.009765, allocations: 0 / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.009769, allocations: 8.062 kB / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.00977, allocations: 0 / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.345e-05/0.009863, allocations: 90.2 kB / 0.735 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.009875, allocations: 0 / 0.735 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.009896, allocations: 0 / 0.735 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.00992, allocations: 9.234 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.009924, allocations: 0 / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.009961, allocations: 31.06 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.009961, allocations: 0 / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002008/0.01016, allocations: 24.91 kB / 0.735 GB, free: 14.68 MB / 0.7136 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.0001634/0.01033, allocations: 84.94 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.01058, allocations: 142.9 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.01059, allocations: 0 / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.593e-05/0.01062, allocations: 17.69 kB / 0.7353 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01082, allocations: 143.8 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.0114, allocations: 184.9 kB / 0.7356 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.01144, allocations: 60.8 kB / 0.7356 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.601e-05/0.01148, allocations: 12.72 kB / 0.7357 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.624e-05/0.01157, allocations: 68.11 kB / 0.7357 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/0.01157, allocations: 0 / 0.7357 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of Templates: time 0.00472/0.0163, allocations: 1.7 MB / 0.7374 GB, free: 12.29 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.741536426357925]