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.0008322/0.0008322, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008696/0.0008696, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8668/0.8668, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.656/1.656, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9517 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.856e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001009/0.001027, allocations: 0.618 MB / 0.9523 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001348/0.001162, allocations: 11.98 kB / 0.9523 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.001212, allocations: 0 / 0.9523 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.386e-05/0.001296, allocations: 3.938 kB / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.991e-05/0.001326, allocations: 0 / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.354e-05/0.001389, allocations: 8 kB / 0.9523 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.001463, allocations: 31.91 kB / 0.9524 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.00157, allocations: 15.98 kB / 0.9524 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.086e-05/0.001601, allocations: 15.98 kB / 0.9524 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.948e-05/0.00163, allocations: 19.86 kB / 0.9524 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.001652, allocations: 4 kB / 0.9524 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.001661, allocations: 4 kB / 0.9524 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.001686, allocations: 11.98 kB / 0.9524 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.001709, allocations: 11.94 kB / 0.9525 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.486e-05/0.001794, allocations: 47.8 kB / 0.9525 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.001795, allocations: 4 kB / 0.9525 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.72e-07/0.001796, allocations: 7.938 kB / 0.9525 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.0018, allocations: 0 / 0.9525 GB, free: 2.223 MB / 0.9011 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.000253/0.002053, allocations: 270.2 kB / 0.9528 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.002084, allocations: 12.03 kB / 0.9528 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.002109, allocations: 4.891 kB / 0.9528 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.002247, allocations: 121.7 kB / 0.9529 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.002258, allocations: 4.375 kB / 0.9529 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.002267, allocations: 4.375 kB / 0.9529 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.002384, allocations: 74.17 kB / 0.953 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.002391, allocations: 4.188 kB / 0.953 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.0024, allocations: 4.375 kB / 0.953 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.002405, allocations: 8.312 kB / 0.953 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.194e-05/0.002457, allocations: 55.83 kB / 0.953 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.002755, allocations: 407 kB / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.582e-05/0.002811, allocations: 173.1 kB / 0.9536 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.00283, allocations: 80.14 kB / 0.9537 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.002847, allocations: 79.28 kB / 0.9538 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.002876, allocations: 105.8 kB / 0.9539 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.002877, allocations: 0 / 0.9539 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.071e-05/0.002927, allocations: 29.64 kB / 0.9539 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.002967, allocations: 130.7 kB / 0.954 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.003046, allocations: 129.8 kB / 0.9541 GB, free: 424 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.662e-06/0.003053, allocations: 25.7 kB / 0.9542 GB, free: 392 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.003091, allocations: 104.1 kB / 0.9543 GB, free: 284 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.003093, allocations: 0 / 0.9543 GB, free: 284 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.003115, allocations: 13.72 kB / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.00319, allocations: 322.8 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.003202, allocations: 7.984 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.003212, allocations: 11.98 kB / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.003238, allocations: 12.86 kB / 0.9546 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.00324, allocations: 0 / 0.9546 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.518e-05/0.003325, allocations: 57.69 kB / 0.9547 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.003336, allocations: 7.984 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.003339, allocations: 0 / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.003349, allocations: 3.938 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.003396, allocations: 4 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.003399, allocations: 0 / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.003412, allocations: 4 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.00342, allocations: 0 / 0.9547 GB, free: 15.82 MB / 0.9167 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 6.542e-05/0.003485, allocations: 205 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.003516, allocations: 109 kB / 0.955 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.003546, allocations: 112.4 kB / 0.9551 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/0.003581, allocations: 180.9 kB / 0.9553 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.511e-05/0.003616, allocations: 180.2 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.003651, allocations: 184.3 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.003772, allocations: 368.8 kB / 0.956 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.003794, allocations: 104.9 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.003819, allocations: 105.1 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.776e-05/0.003856, allocations: 188.2 kB / 0.9563 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/0.004032, allocations: 184.3 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.448e-05/0.004066, allocations: 180.3 kB / 0.9567 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.474e-05/0.004101, allocations: 184.2 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.911e-05/0.00418, allocations: 307.7 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.004205, allocations: 109 kB / 0.9573 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.004245, allocations: 176.3 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.51e-05/0.00429, allocations: 112.9 kB / 0.9575 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.00433, allocations: 180.2 kB / 0.9577 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.004352, allocations: 108.9 kB / 0.9578 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.5e-05/0.004387, allocations: 95.27 kB / 0.9579 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004387, allocations: 0 / 0.9579 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001417/0.004529, allocations: 11.95 kB / 0.9579 GB, free: 12.31 MB / 0.9167 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 7.487e-05/0.004604, allocations: 174.5 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.473e-05/0.004659, allocations: 7.984 kB / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.00466, allocations: 0 / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.004661, allocations: 0 / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.004909, allocations: 471.6 kB / 0.9585 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.005104, allocations: 232.8 kB / 0.9588 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.43e-05/0.005148, allocations: 71.33 kB / 0.9588 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.005167, allocations: 8.5 kB / 0.9588 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of SimCode: time 3.7e-07/0.005167, allocations: 4.062 kB / 0.9588 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.001299/0.006466, allocations: 0.6103 MB / 0.9594 GB, free: 10.69 MB / 0.9167 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: 6.509189675562084]