Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001251/0.001251, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001414/0.001414, allocations: 212.7 kB / 23 MB, free: 4.566 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.763/2.763, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [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.001998/0.001998, allocations: 65.5 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.328, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.002255/0.3302, allocations: 0.8684 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3319, allocations: 1.203 MB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.3319, allocations: 0 / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.3321, allocations: 31.67 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.675e-05/0.3321, allocations: 23.84 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.3326, allocations: 138.6 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3328, allocations: 175.6 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.333, allocations: 33.5 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.333, allocations: 55.84 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3332, allocations: 51.77 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.3332, allocations: 12 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.3333, allocations: 39.84 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.3333, allocations: 15.94 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.3334, allocations: 55.78 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.3336, allocations: 175.4 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3336, allocations: 0 / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3336, allocations: 0 / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3336, allocations: 4 kB / 1.287 GB, free: 8.383 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.000578/0.3342, allocations: 359.6 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3342, allocations: 8.031 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.3343, allocations: 16.84 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.3346, allocations: 170.2 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3346, allocations: 8.375 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.3346, allocations: 4.375 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3348, allocations: 84.81 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3348, allocations: 192 / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3348, allocations: 7.938 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3348, allocations: 4 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.3349, allocations: 27.92 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.3355, allocations: 0.504 MB / 1.289 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.3356, allocations: 22.58 kB / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.3356, allocations: 16.91 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.3356, allocations: 0 / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.3357, allocations: 71.31 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3357, allocations: 4 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002233/0.3359, allocations: 73.64 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.336, allocations: 51.41 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3362, allocations: 183.9 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3362, allocations: 29.7 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.3363, allocations: 116 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.3363, allocations: 3.953 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.3364, allocations: 29.7 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3365, allocations: 326.8 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.18e-05/0.3366, allocations: 39.97 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.205e-05/0.3367, allocations: 54.56 kB / 1.29 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.3369, allocations: 92.33 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3369, allocations: 3.938 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002952/0.3372, allocations: 175.2 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.3372, allocations: 41.69 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3372, allocations: 80 / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3372, allocations: 0 / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.3373, allocations: 4 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3373, allocations: 7.922 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.3375, allocations: 31.84 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3375, allocations: 11.98 kB / 1.29 GB, free: 5.59 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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.000111/0.3376, allocations: 121.9 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.3376, allocations: 15.91 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.3377, allocations: 5.031 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3377, allocations: 4 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3377, allocations: 0 / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3377, allocations: 7.922 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.3378, allocations: 156.7 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3378, allocations: 0 / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.3379, allocations: 7.984 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3379, allocations: 4 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3379, allocations: 0 / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3379, allocations: 3.938 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3379, allocations: 0 / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.338, allocations: 93.02 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.338, allocations: 11.94 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.338, allocations: 0 / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.689e-05/0.3381, allocations: 8 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.3381, allocations: 11.94 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.3381, allocations: 0 / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000113/0.3382, allocations: 131.9 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3382, allocations: 0 / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002274/0.3385, allocations: 23.95 kB / 1.29 GB, free: 4.922 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0001508/0.3386, allocations: 105.4 kB / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.3388, allocations: 127.3 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3389, allocations: 4.125 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.3389, allocations: 15.98 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.3391, allocations: 15.98 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.3396, allocations: 224.6 kB / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.3399, allocations: 0.704 MB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.3399, allocations: 11.44 kB / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3399, allocations: 0 / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of Templates: time 0.003483/0.3434, allocations: 1.452 MB / 1.293 GB, free: 2.199 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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: 10.866654874000233]