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.001352/0.001352, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00151/0.00151, allocations: 220.4 kB / 23 MB, free: 4.914 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.298/3.298, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.002069/0.002069, allocations: 65.75 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3543, allocations: 181.9 MB / 1.365 GB, free: 13.61 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.002482/0.3568, allocations: 0.8958 MB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3585, allocations: 1.179 MB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.3586, allocations: 3.938 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.3587, allocations: 31.72 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.3588, allocations: 23.81 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.3593, allocations: 141.7 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.3595, allocations: 171.6 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3596, allocations: 25.58 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.837e-05/0.3597, allocations: 55.84 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3599, allocations: 51.75 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.3599, allocations: 12 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.36, allocations: 23.98 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/0.36, allocations: 23.86 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.3601, allocations: 47.86 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.3603, allocations: 179.3 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3603, allocations: 3.938 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3603, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.3604, allocations: 0 / 1.367 GB, free: 10.73 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.0005976/0.361, allocations: 359.6 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.361, allocations: 8.031 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.3611, allocations: 12.89 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.3613, allocations: 166.3 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.3613, allocations: 16.36 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.3614, allocations: 8.375 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3615, allocations: 76.81 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3615, allocations: 192 / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3615, allocations: 7.938 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3615, allocations: 0 / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.3616, allocations: 27.94 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.3622, allocations: 460.6 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.172e-05/0.3622, allocations: 26.58 kB / 1.369 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.3623, allocations: 20.91 kB / 1.369 GB, free: 9.441 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.3623, allocations: 0 / 1.369 GB, free: 9.441 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.3624, allocations: 71.31 kB / 1.369 GB, free: 9.359 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3624, allocations: 0 / 1.369 GB, free: 9.359 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002076/0.3626, allocations: 73.64 kB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3627, allocations: 59.34 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.3628, allocations: 152.7 kB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.3628, allocations: 29.7 kB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.3629, allocations: 116 kB / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.3629, allocations: 3.953 kB / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.363, allocations: 33.7 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3632, allocations: 330.8 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3633, allocations: 69.67 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.3634, allocations: 92.27 kB / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3635, allocations: 88.27 kB / 1.37 GB, free: 8.242 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3635, allocations: 4 kB / 1.37 GB, free: 8.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003101/0.3638, allocations: 196.9 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.3639, allocations: 37.7 kB / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3639, allocations: 64 / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3639, allocations: 4 kB / 1.37 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.364, allocations: 7.938 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.364, allocations: 0 / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.3642, allocations: 27.95 kB / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.3642, allocations: 15.94 kB / 1.37 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.0001005/0.3643, allocations: 118.9 kB / 1.37 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.3643, allocations: 11.91 kB / 1.37 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.3643, allocations: 16.56 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3643, allocations: 4 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3644, allocations: 0 / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3644, allocations: 7.984 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.3645, allocations: 125.2 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3645, allocations: 0 / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.3645, allocations: 4 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3645, allocations: 0 / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3645, allocations: 4 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3645, allocations: 0 / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3645, allocations: 80 / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3646, allocations: 100.9 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.3647, allocations: 11.95 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.3647, allocations: 4 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.3647, allocations: 4 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.3647, allocations: 7.922 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3647, allocations: 4 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000102/0.3648, allocations: 121.3 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3648, allocations: 0 / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002212/0.3651, allocations: 23.94 kB / 1.37 GB, free: 7.309 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.0001385/0.3652, allocations: 103.2 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.3655, allocations: 165 kB / 1.371 GB, free: 7.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3655, allocations: 0 / 1.371 GB, free: 7.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.3655, allocations: 12 kB / 1.371 GB, free: 7.008 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.3657, allocations: 19.98 kB / 1.371 GB, free: 6.988 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.3661, allocations: 212.2 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.484e-05/0.3662, allocations: 92.3 kB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.3663, allocations: 15.38 kB / 1.371 GB, free: 6.625 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3663, allocations: 0 / 1.371 GB, free: 6.625 MB / 1.061 GB Notification: Performance of Templates: time 0.003374/0.3697, allocations: 1.437 MB / 1.372 GB, free: 5.199 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/jenkins1/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: 11.191376003902406]