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.001078/0.001078, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001623/0.002702, 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.001103/0.001103, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002612, 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.9689/0.9689, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08183/1.051, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.843/1.843, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4286/2.271, 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.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.363e-06/1.363e-06, allocations: 0 / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.303e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.438 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.001219/0.001232, allocations: 0.8047 MB / 0.7304 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.00217, allocations: 1.191 MB / 0.7316 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.002217, allocations: 9.031 kB / 0.7316 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.412e-05/0.002281, allocations: 21.17 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.74e-05/0.002309, allocations: 15.94 kB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.002553, allocations: 130.3 kB / 0.7318 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.0027, allocations: 127.7 kB / 0.7319 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.384e-05/0.002774, allocations: 20.64 kB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.048e-05/0.002865, allocations: 67.44 kB / 0.732 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.002944, allocations: 32.5 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.002963, allocations: 13 kB / 0.732 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.003026, allocations: 20 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.003046, allocations: 11.88 kB / 0.732 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.00308, allocations: 24.59 kB / 0.7321 GB, free: 2.008 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.0032, allocations: 75.8 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.003211, allocations: 0.7812 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003211, allocations: 0 / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.003224, allocations: 0.625 kB / 0.7321 GB, free: 1.934 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.0003754/0.003599, allocations: 326.9 kB / 0.7324 GB, free: 1.582 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.003627, allocations: 8.031 kB / 0.7325 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.003663, allocations: 12.94 kB / 0.7325 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.003804, allocations: 146.9 kB / 0.7326 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.003815, allocations: 8.375 kB / 0.7326 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.003831, allocations: 4.375 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.499e-05/0.003906, allocations: 73.31 kB / 0.7327 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.003913, allocations: 192 / 0.7327 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-06/0.00392, allocations: 5.953 kB / 0.7327 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.003925, allocations: 4.375 kB / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.379e-05/0.003939, allocations: 15.86 kB / 0.7327 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.004155, allocations: 340.6 kB / 0.733 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.961e-05/0.004185, allocations: 15.52 kB / 0.7331 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-06/0.004193, allocations: 12.92 kB / 0.7331 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-06/0.004195, allocations: 0.5 kB / 0.7331 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.089e-05/0.004266, allocations: 60.86 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.004267, allocations: 0 / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 9.692e-05/0.004364, allocations: 49.67 kB / 0.7332 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.004395, allocations: 59.34 kB / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.004464, allocations: 139.4 kB / 0.7334 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.004479, allocations: 29.7 kB / 0.7334 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.004515, allocations: 97.31 kB / 0.7335 GB, free: 416 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.004523, allocations: 4 kB / 0.7335 GB, free: 412 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.004562, allocations: 29.69 kB / 0.7335 GB, free: 376 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.004629, allocations: 322.8 kB / 0.7338 GB, free: 44 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.004681, allocations: 47.48 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.093e-05/0.004722, allocations: 72.16 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.004773, allocations: 72.31 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.004777, allocations: 9.219 kB / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001041/0.004881, allocations: 144.9 kB / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.004913, allocations: 43.59 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.004917, allocations: 1.125 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.004929, allocations: 4 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.428e-05/0.004943, allocations: 3.938 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.004946, allocations: 0.8125 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.005052, allocations: 28.91 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.005064, allocations: 3.984 kB / 0.7342 GB, free: 15.57 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 5.753e-05/0.005122, allocations: 118.4 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-06/0.005128, allocations: 3.938 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.005148, allocations: 13.55 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.005149, allocations: 0 / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.00515, allocations: 0 / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005153, allocations: 0.7188 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.382e-05/0.005206, allocations: 78.11 kB / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005207, allocations: 1.219 kB / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-06/0.00521, allocations: 0 / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.00522, allocations: 11.92 kB / 0.7344 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005221, allocations: 8.625 kB / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-06/0.005225, allocations: 0 / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005226, allocations: 1.375 kB / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005226, allocations: 0 / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.04e-05/0.005277, allocations: 73.05 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.005286, allocations: 7.938 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.005295, allocations: 0.5 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.00531, allocations: 4.688 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.005313, allocations: 3.984 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.825e-05/0.005331, allocations: 21.59 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005331, allocations: 0 / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001102/0.005441, allocations: 21.78 kB / 0.7346 GB, free: 15.16 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 8.786e-05/0.005529, allocations: 88.34 kB / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.005646, allocations: 135.2 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.005649, allocations: 0 / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.005666, allocations: 16.84 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.005776, allocations: 72.64 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.006136, allocations: 157 kB / 0.735 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.568e-05/0.006162, allocations: 56.61 kB / 0.7351 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.634e-05/0.006178, allocations: 7.984 kB / 0.7351 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.00624, allocations: 67.34 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.006241, allocations: 3.188 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of Templates: time 0.002548/0.008789, allocations: 1.312 MB / 0.7364 GB, free: 13.24 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.714513679035008]