Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001852/0.001852, allocations: 78.64 kB / 19.76 MB, free: 2.035 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.001957/0.001957, allocations: 159.3 kB / 23.01 MB, free: 4.941 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.509/1.509, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.776/2.776, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_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_11_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.002109/0.002109, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.002551/0.3628, allocations: 0.888 MB / 1.118 GB, free: 1.668 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3646, allocations: 1.198 MB / 1.119 GB, free: 468 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.3646, allocations: 4 kB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.3648, allocations: 23.73 kB / 1.119 GB, free: 440 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.3649, allocations: 23.84 kB / 1.12 GB, free: 416 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.3654, allocations: 143.3 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.3656, allocations: 167.6 kB / 1.12 GB, free: 108 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3657, allocations: 25.56 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.3658, allocations: 59.8 kB / 1.12 GB, free: 20 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.3659, allocations: 51.88 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.366, allocations: 16 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.409e-05/0.366, allocations: 27.98 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.3661, allocations: 15.92 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.3661, allocations: 51.78 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3664, allocations: 175.3 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3664, allocations: 0 / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3664, allocations: 0 / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.3664, allocations: 0 / 1.12 GB, free: 15.68 MB / 1.076 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.0006114/0.367, allocations: 359.5 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3671, allocations: 12.03 kB / 1.121 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.3671, allocations: 24.78 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.3675, allocations: 162.3 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3675, allocations: 4.375 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.3675, allocations: 8.375 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3677, allocations: 88.75 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3677, allocations: 192 / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3677, allocations: 3.938 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3677, allocations: 4 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.266e-05/0.3678, allocations: 31.92 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.3684, allocations: 448.8 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.3684, allocations: 34.5 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.3685, allocations: 8.922 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.3685, allocations: 0 / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.3686, allocations: 67.34 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3686, allocations: 0 / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002683/0.3689, allocations: 89.69 kB / 1.122 GB, free: 14.22 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.3689, allocations: 51.41 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.3691, allocations: 153.6 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.3691, allocations: 29.7 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.3692, allocations: 112 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.3692, allocations: 15.92 kB / 1.122 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.3693, allocations: 29.7 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3695, allocations: 322.8 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3696, allocations: 65.69 kB / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3697, allocations: 96.19 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3698, allocations: 88.22 kB / 1.122 GB, free: 13.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3698, allocations: 4 kB / 1.122 GB, free: 13.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003067/0.3701, allocations: 213 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.3702, allocations: 36.2 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3702, allocations: 4 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3702, allocations: 3.984 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.3703, allocations: 4 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3703, allocations: 0 / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.3704, allocations: 23.97 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.3705, allocations: 12 kB / 1.123 GB, free: 12.88 MB / 1.076 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.0001166/0.3706, allocations: 121.8 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.3706, allocations: 11.94 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.3706, allocations: 12.34 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3706, allocations: 0 / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3706, allocations: 3.938 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3706, allocations: 0 / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.3708, allocations: 137.2 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3708, allocations: 0 / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.3708, allocations: 3.984 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3708, allocations: 8 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.3708, allocations: 0 / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3708, allocations: 0 / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3708, allocations: 0 / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.3709, allocations: 93.02 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.3709, allocations: 11.91 kB / 1.123 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.371, allocations: 3.984 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.371, allocations: 3.938 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.371, allocations: 8 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.371, allocations: 0 / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001165/0.3711, allocations: 113.3 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3711, allocations: 4 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002138/0.3713, allocations: 24 kB / 1.123 GB, free: 12.27 MB / 1.076 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.0001545/0.3715, allocations: 107.2 kB / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.3718, allocations: 149.1 kB / 1.123 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3718, allocations: 7.875 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.3718, allocations: 15.98 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.372, allocations: 22.38 kB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.3725, allocations: 194.5 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.944e-05/0.3725, allocations: 88.27 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.3726, allocations: 8.719 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.3726, allocations: 12.5 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.3726, allocations: 0 / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of Templates: time 0.004842/0.3774, allocations: 1.509 MB / 1.125 GB, free: 10.12 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.845594521029852]