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.001975/0.001975, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.003097/0.003097, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.871/2.871, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 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.002243/0.002243, allocations: 68.33 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3869, allocations: 169.9 MB / 1.283 GB, free: 11.97 MB / 0.9825 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.002697/0.3896, allocations: 0.9003 MB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3915, allocations: 1.188 MB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/0.3916, allocations: 3.938 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.3917, allocations: 23.8 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.3918, allocations: 23.81 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.3923, allocations: 141.1 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.3926, allocations: 167.6 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3927, allocations: 29.52 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.025e-05/0.3928, allocations: 59.83 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3929, allocations: 47.77 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.393, allocations: 12 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.3931, allocations: 27.92 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.3931, allocations: 19.92 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/0.3932, allocations: 55.78 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.3935, allocations: 167.5 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.3935, allocations: 0 / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3935, allocations: 0 / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3935, allocations: 0 / 1.286 GB, free: 9.113 MB / 0.9825 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.0006469/0.3941, allocations: 365.2 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3942, allocations: 8.031 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.3942, allocations: 16.84 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.3946, allocations: 164.7 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3946, allocations: 16.3 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3946, allocations: 12.38 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3948, allocations: 76.81 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3948, allocations: 192 / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.3948, allocations: 11.94 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3948, allocations: 0 / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.324e-05/0.3949, allocations: 23.94 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.3955, allocations: 464.7 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.3955, allocations: 26.58 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.3956, allocations: 20.91 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.3956, allocations: 0 / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.3957, allocations: 71.27 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.3957, allocations: 0 / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002327/0.396, allocations: 77.73 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.396, allocations: 59.41 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3962, allocations: 146.5 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.3962, allocations: 29.7 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3963, allocations: 112 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.3963, allocations: 3.953 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.3964, allocations: 41.64 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3966, allocations: 326.8 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3967, allocations: 69.67 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3968, allocations: 84.31 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.397, allocations: 88.27 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.397, allocations: 4 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003266/0.3973, allocations: 200.9 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.3973, allocations: 41.64 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3973, allocations: 64 / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3974, allocations: 4 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.46e-05/0.3974, allocations: 4 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3974, allocations: 0 / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3976, allocations: 31.91 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.3976, allocations: 11.94 kB / 1.288 GB, free: 6.297 MB / 0.9825 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.0001231/0.3978, allocations: 117.8 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.3978, allocations: 11.95 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.3978, allocations: 12.33 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3978, allocations: 4 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3978, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3978, allocations: 4 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.398, allocations: 129.2 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.398, allocations: 64 / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.398, allocations: 8 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.398, allocations: 0 / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.398, allocations: 4 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.398, allocations: 0 / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.398, allocations: 7.938 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.3981, allocations: 93 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.3982, allocations: 19.89 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.3982, allocations: 0 / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.3982, allocations: 0 / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.3982, allocations: 3.984 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3982, allocations: 4 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.876e-05/0.3983, allocations: 117.9 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3983, allocations: 0 / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002216/0.3985, allocations: 27.89 kB / 1.289 GB, free: 5.684 MB / 0.9825 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.0001714/0.3987, allocations: 103.2 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.399, allocations: 169 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.399, allocations: 4 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.3991, allocations: 8 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.3993, allocations: 15.98 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.3997, allocations: 190.5 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.735e-05/0.3998, allocations: 88.31 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.3999, allocations: 8.656 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.3999, allocations: 11.44 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3999, allocations: 0 / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of Templates: time 0.005046/0.4049, allocations: 1.587 MB / 1.291 GB, free: 3.484 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.255406087264419]