Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.001509/0.001509, 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.001756/0.001756, allocations: 214.6 kB / 22.25 MB, free: 5.246 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.53/1.53, 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.904/2.904, allocations: 475.9 MB / 0.7699 GB, free: 4.727 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.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [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.00218/0.00218, allocations: 64.53 kB / 1.117 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3858, allocations: 169.9 MB / 1.283 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.003584/0.3894, allocations: 0.6201 MB / 1.284 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002894/0.3897, allocations: 15.97 kB / 1.284 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.3898, allocations: 0 / 1.284 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.3899, allocations: 3.938 kB / 1.284 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.39, allocations: 0 / 1.284 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.914e-05/0.3901, allocations: 8 kB / 1.284 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.3902, allocations: 19.92 kB / 1.284 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.3904, allocations: 23.92 kB / 1.284 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.3904, allocations: 15.94 kB / 1.284 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.519e-05/0.3905, allocations: 19.92 kB / 1.284 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3905, allocations: 4 kB / 1.284 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.3905, allocations: 0 / 1.284 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.3906, allocations: 11.94 kB / 1.284 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.3906, allocations: 19.91 kB / 1.284 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.3907, allocations: 43.81 kB / 1.284 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3908, allocations: 0 / 1.284 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3908, allocations: 0 / 1.284 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3908, allocations: 0 / 1.284 GB, free: 2.93 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.0004794/0.3912, allocations: 272.7 kB / 1.284 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.487e-05/0.3913, allocations: 8.031 kB / 1.284 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.3914, allocations: 12.89 kB / 1.284 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3917, allocations: 130.4 kB / 1.284 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3917, allocations: 4.375 kB / 1.284 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.3917, allocations: 12.31 kB / 1.284 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.3919, allocations: 78.16 kB / 1.284 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3919, allocations: 192 / 1.284 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3919, allocations: 3.938 kB / 1.284 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3919, allocations: 4 kB / 1.284 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.507e-05/0.392, allocations: 47.97 kB / 1.284 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.3925, allocations: 414.9 kB / 1.285 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3927, allocations: 181.1 kB / 1.285 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.3927, allocations: 80.14 kB / 1.285 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.3927, allocations: 75.28 kB / 1.285 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.814e-05/0.3928, allocations: 109.8 kB / 1.285 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3928, allocations: 0 / 1.285 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.097e-05/0.3929, allocations: 29.69 kB / 1.285 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.393, allocations: 126.7 kB / 1.285 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3931, allocations: 137.7 kB / 1.285 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3931, allocations: 25.7 kB / 1.285 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.3932, allocations: 100.1 kB / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.3932, allocations: 0 / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.3933, allocations: 17.72 kB / 1.286 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3934, allocations: 322.8 kB / 1.286 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.3935, allocations: 4 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.3935, allocations: 11.98 kB / 1.286 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.953e-05/0.3935, allocations: 12.86 kB / 1.286 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3935, allocations: 0 / 1.286 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001315/0.3936, allocations: 49.67 kB / 1.286 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3937, allocations: 8 kB / 1.286 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3937, allocations: 0 / 1.286 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3937, allocations: 4.094 kB / 1.286 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.3937, allocations: 3.938 kB / 1.286 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3937, allocations: 4 kB / 1.286 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.3938, allocations: 3.938 kB / 1.286 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3938, allocations: 4 kB / 1.286 GB, free: 0.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001311/0.3939, allocations: 193.1 kB / 1.286 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.394, allocations: 108.9 kB / 1.286 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.3941, allocations: 112.4 kB / 1.286 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/0.3942, allocations: 180.3 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001039/0.3943, allocations: 180.3 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.446e-05/0.3944, allocations: 193.6 kB / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.3946, allocations: 368.8 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.642e-05/0.3947, allocations: 104.9 kB / 1.287 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.3947, allocations: 101 kB / 1.287 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-05/0.3948, allocations: 180.3 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.3949, allocations: 184.1 kB / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001114/0.3951, allocations: 180.3 kB / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.311e-05/0.3952, allocations: 192.2 kB / 1.288 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3954, allocations: 303.7 kB / 1.288 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.3954, allocations: 112.9 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.3956, allocations: 180.5 kB / 1.289 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.3957, allocations: 112.9 kB / 1.289 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3958, allocations: 180.3 kB / 1.289 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/0.3958, allocations: 101 kB / 1.289 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.266e-05/0.3959, allocations: 99.27 kB / 1.289 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3959, allocations: 0 / 1.289 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002844/0.3962, allocations: 11.88 kB / 1.289 GB, free: 13.01 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001878/0.3964, allocations: 178.5 kB / 1.289 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.3965, allocations: 8 kB / 1.289 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3965, allocations: 64 / 1.289 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.3965, allocations: 4 kB / 1.289 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.397, allocations: 462.2 kB / 1.29 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.3973, allocations: 200.2 kB / 1.29 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.548e-05/0.3974, allocations: 67.34 kB / 1.29 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.3975, allocations: 3.938 kB / 1.29 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.3975, allocations: 7.438 kB / 1.29 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.3975, allocations: 0 / 1.29 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of Templates: time 0.002737/0.4002, allocations: 310.2 kB / 1.29 GB, free: 11.74 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.077346498146653]