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.002063/0.002063, 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.002743/0.002743, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.789 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.925/2.925, allocations: 475.9 MB / 0.7699 GB, free: 4.754 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.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.002364/0.002364, allocations: 65.05 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3358, allocations: 170 MB / 1.283 GB, free: 11.96 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.002206/0.338, allocations: 0.8393 MB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3396, allocations: 1.192 MB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.3396, allocations: 4 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.3398, allocations: 23.78 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.3398, allocations: 19.81 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.3403, allocations: 145.3 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.3406, allocations: 167.6 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3407, allocations: 29.52 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.558e-05/0.3407, allocations: 55.84 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3408, allocations: 51.75 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.3409, allocations: 15.94 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.341, allocations: 31.92 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.341, allocations: 15.92 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.3411, allocations: 47.84 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3413, allocations: 175.4 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3413, allocations: 0 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3413, allocations: 0 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3413, allocations: 0 / 1.286 GB, free: 9.164 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.0005573/0.3419, allocations: 363.5 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3419, allocations: 8.031 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.342, allocations: 16.84 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.3422, allocations: 165.1 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3423, allocations: 4.375 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.3423, allocations: 16.38 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3424, allocations: 80.75 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3424, allocations: 4.188 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3425, allocations: 3.938 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3425, allocations: 3.984 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/0.3425, allocations: 31.94 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.343, allocations: 464.7 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.3431, allocations: 22.58 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.3431, allocations: 16.91 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.3431, allocations: 4 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.3433, allocations: 67.33 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.3433, allocations: 0 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002139/0.3435, allocations: 77.59 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.3435, allocations: 59.41 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3437, allocations: 150.5 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.3437, allocations: 29.7 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.3438, allocations: 108 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.3438, allocations: 7.953 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.3439, allocations: 33.7 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.344, allocations: 330.7 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.3441, allocations: 73.67 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3442, allocations: 84.27 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3444, allocations: 88.27 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3444, allocations: 0 / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003054/0.3447, allocations: 208.9 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.3447, allocations: 37.7 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3447, allocations: 3.938 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3447, allocations: 4.297 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.976e-05/0.3448, allocations: 7.938 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3448, allocations: 0 / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.345, allocations: 31.89 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.345, allocations: 7.938 kB / 1.288 GB, free: 6.348 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.0001015/0.3451, allocations: 117.8 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.3451, allocations: 15.94 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.3451, allocations: 12.33 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3451, allocations: 4 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3451, allocations: 0 / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3451, allocations: 3.938 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.3453, allocations: 133.2 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3453, allocations: 0 / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.3453, allocations: 4.062 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3453, allocations: 4 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3453, allocations: 0 / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3453, allocations: 0 / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3453, allocations: 3.938 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.3454, allocations: 101 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.3455, allocations: 11.91 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3455, allocations: 0 / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.3455, allocations: 8 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.3455, allocations: 3.984 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3455, allocations: 0 / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.621e-05/0.3456, allocations: 125.5 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3456, allocations: 0 / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002144/0.3458, allocations: 16 kB / 1.289 GB, free: 5.734 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.0001331/0.346, allocations: 103.2 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.3462, allocations: 165 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3462, allocations: 0 / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.3463, allocations: 15.98 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.3465, allocations: 27.86 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.3468, allocations: 186.5 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.667e-05/0.3469, allocations: 88.31 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.347, allocations: 8.656 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.347, allocations: 11.44 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.347, allocations: 0 / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of Templates: time 0.004499/0.3515, allocations: 1.563 MB / 1.291 GB, free: 3.555 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/jenkins/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: 9.416446808725595]