Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.0007684/0.0007684, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001843, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007441/0.0007441, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.00206, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9986/0.9986, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08104/1.08, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.811/1.811, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4378/2.248, allocations: 123.3 MB / 0.728 GB, free: 5.801 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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.448e-05, allocations: 3.875 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001564/0.001579, allocations: 0.8045 MB / 0.7301 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.002813, allocations: 1.2 MB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.233e-05/0.002876, allocations: 7.938 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.903e-05/0.002955, allocations: 18.56 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.109e-05/0.002986, allocations: 11.22 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.003287, allocations: 130.1 kB / 0.7314 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006213/0.0095, allocations: 128.1 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.00959, allocations: 25.08 kB / 0.7316 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.009694, allocations: 69.3 kB / 0.7316 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.009776, allocations: 27.91 kB / 0.7317 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.009799, allocations: 12 kB / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.582e-05/0.009875, allocations: 25.41 kB / 0.7317 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.009893, allocations: 7.938 kB / 0.7317 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.009932, allocations: 20 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.0101, allocations: 79.69 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.01011, allocations: 4.656 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.21e-07/0.01011, allocations: 0.6875 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.01013, allocations: 0 / 0.7318 GB, free: 2.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004072/0.01053, allocations: 323.7 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.01056, allocations: 8.031 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.0106, allocations: 12.92 kB / 0.7321 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.01077, allocations: 146.6 kB / 0.7323 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.01078, allocations: 4.375 kB / 0.7323 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.01079, allocations: 5.188 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.01088, allocations: 76.72 kB / 0.7324 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.01088, allocations: 1.094 kB / 0.7324 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.01089, allocations: 384 / 0.7324 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.0109, allocations: 384 / 0.7324 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.01092, allocations: 16.8 kB / 0.7324 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.01118, allocations: 344.5 kB / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.582e-05/0.01121, allocations: 23.27 kB / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-06/0.01122, allocations: 5.453 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-06/0.01122, allocations: 4.062 kB / 0.7327 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.848e-05/0.01131, allocations: 57.14 kB / 0.7328 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.01131, allocations: 0 / 0.7328 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001046/0.01142, allocations: 53.61 kB / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.01145, allocations: 51.41 kB / 0.7329 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.01153, allocations: 139.3 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.01154, allocations: 29.7 kB / 0.7331 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.01159, allocations: 92.92 kB / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.0116, allocations: 11.97 kB / 0.7332 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.01164, allocations: 26.2 kB / 0.7332 GB, free: 472 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.01172, allocations: 318.8 kB / 0.7335 GB, free: 144 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.01177, allocations: 50.81 kB / 0.7335 GB, free: 88 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.627e-05/0.01183, allocations: 72.23 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.44e-05/0.0119, allocations: 80.97 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.0119, allocations: 0.5312 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001322/0.01204, allocations: 153.4 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.01207, allocations: 39.47 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01208, allocations: 0 / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.01208, allocations: 0 / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.516e-05/0.0121, allocations: 4 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.0121, allocations: 0 / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.01224, allocations: 25.09 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.01225, allocations: 11.98 kB / 0.7339 GB, free: 15.66 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: 4 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 6.237e-05/0.01232, allocations: 115.6 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.01233, allocations: 7.938 kB / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.01235, allocations: 20.27 kB / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.01235, allocations: 0 / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01235, allocations: 0.75 kB / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.01236, allocations: 0 / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.749e-05/0.01242, allocations: 74.41 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01243, allocations: 4.75 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-06/0.01243, allocations: 0 / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.01244, allocations: 3.953 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.01244, allocations: 5.516 kB / 0.7341 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-06/0.01244, allocations: 4 kB / 0.7341 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.01244, allocations: 0 / 0.7341 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01245, allocations: 0.8438 kB / 0.7341 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.01e-05/0.01251, allocations: 73.08 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.01252, allocations: 8.812 kB / 0.7342 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.01253, allocations: 0 / 0.7342 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.01254, allocations: 0 / 0.7342 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.01255, allocations: 0.8438 kB / 0.7342 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.458e-05/0.01257, allocations: 31.45 kB / 0.7342 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01257, allocations: 0.5938 kB / 0.7342 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001751/0.01275, allocations: 19.98 kB / 0.7343 GB, free: 15.25 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: 3 ($whenCondition1,$whenCondition2,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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 9.457e-05/0.01284, allocations: 86.17 kB / 0.7343 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.01297, allocations: 125.9 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.01298, allocations: 9.016 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.776e-05/0.01299, allocations: 20.78 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.0131, allocations: 13.34 kB / 0.7345 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.01354, allocations: 164.9 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.981e-05/0.01357, allocations: 62.09 kB / 0.7347 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.01359, allocations: 4 kB / 0.7347 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.01366, allocations: 63.36 kB / 0.7348 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.01366, allocations: 0 / 0.7348 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of Templates: time 0.006274/0.01993, allocations: 1.343 MB / 0.7361 GB, free: 13.37 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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: 4.655137117020786]