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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 249.9 MB, free: 3.258 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.724/2.724, allocations: 476.7 MB / 0.7634 GB, free: 15.26 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=503,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=503,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.89 kB / 1.108 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9736/0.9755, allocations: 168.7 MB / 1.272 GB, free: 7.973 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002221/0.9778, allocations: 0.9491 MB / 1.273 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.9792, allocations: 1.172 MB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.009e-05/0.9792, allocations: 2.344 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.9794, allocations: 27.78 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.9794, allocations: 21.17 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.9799, allocations: 160.2 kB / 1.275 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.9801, allocations: 169.3 kB / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.9802, allocations: 28.41 kB / 1.275 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.9803, allocations: 59.3 kB / 1.275 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.9804, allocations: 49.42 kB / 1.275 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.9804, allocations: 14.75 kB / 1.275 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.776e-05/0.9805, allocations: 33.77 kB / 1.275 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.9805, allocations: 19.97 kB / 1.275 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.71e-05/0.9806, allocations: 61.17 kB / 1.275 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.9808, allocations: 167.5 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9808, allocations: 2.688 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.02e-07/0.9809, allocations: 0 / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.9809, allocations: 0 / 1.275 GB, free: 6.113 MB / 0.9981 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.0004614/0.9813, allocations: 441.2 kB / 1.276 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.9814, allocations: 9.406 kB / 1.276 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.9814, allocations: 12.36 kB / 1.276 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.9817, allocations: 231.6 kB / 1.276 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.9817, allocations: 7.906 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.9817, allocations: 11.56 kB / 1.276 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.9818, allocations: 77.88 kB / 1.276 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.9818, allocations: 192 / 1.276 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.9819, allocations: 5.094 kB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.9819, allocations: 6.062 kB / 1.276 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.622e-05/0.9819, allocations: 27.89 kB / 1.276 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.9824, allocations: 0.5333 MB / 1.277 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.771e-05/0.9825, allocations: 29.2 kB / 1.277 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.9825, allocations: 14.19 kB / 1.277 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.9825, allocations: 0 / 1.277 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.9827, allocations: 71.28 kB / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.9827, allocations: 0 / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002393/0.9829, allocations: 79.91 kB / 1.277 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.9829, allocations: 53.09 kB / 1.277 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.9831, allocations: 172.8 kB / 1.277 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.9831, allocations: 35.89 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.9832, allocations: 105.8 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.9832, allocations: 6.609 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.9833, allocations: 29.84 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.9833, allocations: 325 kB / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.741e-05/0.9834, allocations: 34.31 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.9835, allocations: 64.98 kB / 1.278 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.9836, allocations: 92.53 kB / 1.278 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9836, allocations: 0 / 1.278 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002876/0.9839, allocations: 164.5 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.984, allocations: 42.14 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.984, allocations: 0.8438 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.984, allocations: 1.094 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/0.984, allocations: 10.5 kB / 1.278 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.984, allocations: 4.906 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.9842, allocations: 36.45 kB / 1.278 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.9843, allocations: 6.906 kB / 1.278 GB, free: 3.727 MB / 0.9981 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 7.636e-05/0.9843, allocations: 125 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.9844, allocations: 8.922 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.9844, allocations: 12.97 kB / 1.278 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9844, allocations: 1.766 kB / 1.278 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9844, allocations: 4 kB / 1.278 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.9844, allocations: 6.203 kB / 1.278 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.9845, allocations: 188.5 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9845, allocations: 0 / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.55e-05/0.9845, allocations: 2.797 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9845, allocations: 1.062 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.9845, allocations: 2.125 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9845, allocations: 0 / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9845, allocations: 1.031 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.9846, allocations: 110.4 kB / 1.278 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.9847, allocations: 89.97 kB / 1.278 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.9847, allocations: 0 / 1.278 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.9847, allocations: 1.719 kB / 1.278 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.9847, allocations: 6.828 kB / 1.278 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.9847, allocations: 2.062 kB / 1.278 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.501e-05/0.9848, allocations: 127.2 kB / 1.279 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9848, allocations: 0.625 kB / 1.279 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002161/0.985, allocations: 18.47 kB / 1.279 GB, free: 3.078 MB / 0.9981 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.0001066/0.9852, allocations: 110.2 kB / 1.279 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.9854, allocations: 122.8 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9854, allocations: 0.8125 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.9854, allocations: 14.27 kB / 1.279 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.9856, allocations: 21.55 kB / 1.279 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.986, allocations: 225 kB / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.9861, allocations: 0.7012 MB / 1.28 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.9861, allocations: 12.28 kB / 1.28 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.9861, allocations: 0 / 1.28 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of Templates: time 0.003856/0.99, allocations: 1.464 MB / 1.281 GB, free: 1.828 MB / 0.9981 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/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