Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001419/0.001419, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001638/0.001638, allocations: 213.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.532/3.532, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 72.31 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4112, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002459/0.4137, allocations: 0.8947 MB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.4154, allocations: 1.187 MB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.4156, allocations: 7.938 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.4157, allocations: 23.78 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/0.4158, allocations: 23.8 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.4163, allocations: 149.3 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.4166, allocations: 167.6 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.4167, allocations: 25.56 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.4168, allocations: 59.84 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.4169, allocations: 47.77 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.417, allocations: 16 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.102e-05/0.4171, allocations: 31.97 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.4171, allocations: 7.938 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.456e-05/0.4172, allocations: 59.72 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.4175, allocations: 167.4 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4175, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4175, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.4175, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 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.0006673/0.4182, allocations: 363.6 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4182, allocations: 12.03 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.4183, allocations: 12.89 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.4185, allocations: 166.3 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4186, allocations: 8.312 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.4186, allocations: 8.375 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.4188, allocations: 88.75 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4188, allocations: 192 / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4188, allocations: 3.938 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4188, allocations: 3.938 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.4189, allocations: 35.92 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/0.4195, allocations: 464.6 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/0.4196, allocations: 22.58 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.4196, allocations: 8.922 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.4196, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.4197, allocations: 71.33 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4197, allocations: 0 / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002271/0.4199, allocations: 81.75 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.42, allocations: 55.41 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.4202, allocations: 156.5 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.4202, allocations: 29.7 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.4203, allocations: 116 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.4203, allocations: 3.953 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.4204, allocations: 29.7 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4205, allocations: 326.8 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.4207, allocations: 69.67 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.4208, allocations: 96.19 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.4209, allocations: 92.33 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4209, allocations: 4 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003303/0.4213, allocations: 197 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.4213, allocations: 41.69 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4213, allocations: 0 / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.4214, allocations: 4 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.4214, allocations: 0 / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4214, allocations: 7.938 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.4216, allocations: 23.97 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.4216, allocations: 15.98 kB / 1.369 GB, free: 7.93 MB / 1.061 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 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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 0.0001157/0.4218, allocations: 117.8 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.4218, allocations: 11.91 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.4218, allocations: 8.344 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4218, allocations: 4 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4218, allocations: 0 / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4218, allocations: 3.938 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.422, allocations: 137.2 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.422, allocations: 0 / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.422, allocations: 0 / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.422, allocations: 4 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.422, allocations: 4 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.422, allocations: 3.938 kB / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.422, allocations: 0 / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.4222, allocations: 100.9 kB / 1.369 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.4222, allocations: 7.953 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.4222, allocations: 0 / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.4222, allocations: 0 / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.4223, allocations: 8 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.4223, allocations: 3.984 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001014/0.4224, allocations: 114.4 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4224, allocations: 4 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002322/0.4226, allocations: 27.94 kB / 1.37 GB, free: 7.316 MB / 1.061 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.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.000164/0.4228, allocations: 103.2 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.423, allocations: 153 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4231, allocations: 4 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.4231, allocations: 15.98 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.4233, allocations: 25.55 kB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.4237, allocations: 190.5 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.095e-05/0.4238, allocations: 88.17 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.4238, allocations: 4.672 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.4238, allocations: 11.44 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4238, allocations: 0 / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of Templates: time 0.004718/0.4286, allocations: 1.572 MB / 1.372 GB, free: 5.129 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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: 9.54826415143907]