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.001536/0.001536, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001719/0.001719, allocations: 162.2 kB / 22.46 MB, free: 5.375 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.529/1.529, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 2.848/2.848, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] 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 6.402e-06/6.402e-06, allocations: 4 kB / 0.951 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.17e-05/4.81e-05, allocations: 2.281 kB / 0.951 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002773/0.002821, allocations: 0.6142 MB / 0.9516 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002348/0.003056, allocations: 11.94 kB / 0.9516 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.003132, allocations: 0 / 0.9516 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.003261, allocations: 3.938 kB / 0.9516 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.003303, allocations: 0 / 0.9516 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.003405, allocations: 15.92 kB / 0.9516 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.003528, allocations: 23.92 kB / 0.9516 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.003724, allocations: 23.98 kB / 0.9516 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.003792, allocations: 15.92 kB / 0.9516 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.003844, allocations: 19.97 kB / 0.9517 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.003869, allocations: 4 kB / 0.9517 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.003884, allocations: 4 kB / 0.9517 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.003928, allocations: 11.94 kB / 0.9517 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.003973, allocations: 11.98 kB / 0.9517 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.004121, allocations: 47.86 kB / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.004124, allocations: 0 / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004125, allocations: 0 / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.004132, allocations: 0 / 0.9517 GB, free: 10.83 MB / 0.8575 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.0005422/0.004674, allocations: 274.2 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.004729, allocations: 8.031 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.004787, allocations: 8.938 kB / 0.952 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.00512, allocations: 125.6 kB / 0.9521 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.005141, allocations: 8.312 kB / 0.9521 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.005171, allocations: 4.375 kB / 0.9522 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.005376, allocations: 78.22 kB / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.005385, allocations: 192 / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.005398, allocations: 4.375 kB / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005403, allocations: 384 / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.319e-05/0.005497, allocations: 51.84 kB / 0.9523 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.006035, allocations: 410.9 kB / 0.9527 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.006146, allocations: 169.1 kB / 0.9528 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.006199, allocations: 88.14 kB / 0.9529 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.006233, allocations: 75.28 kB / 0.953 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.213e-05/0.006295, allocations: 105.8 kB / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.006296, allocations: 0 / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001093/0.006406, allocations: 37.64 kB / 0.9531 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.006488, allocations: 126.7 kB / 0.9532 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.006641, allocations: 133.8 kB / 0.9534 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.006656, allocations: 25.7 kB / 0.9534 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.006729, allocations: 100.1 kB / 0.9535 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.006732, allocations: 0 / 0.9535 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.00678, allocations: 21.72 kB / 0.9535 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002321/0.007012, allocations: 322.8 kB / 0.9538 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.007031, allocations: 4 kB / 0.9538 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.007046, allocations: 7.984 kB / 0.9538 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.007091, allocations: 16.86 kB / 0.9539 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.007092, allocations: 0 / 0.9539 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001358/0.007228, allocations: 49.67 kB / 0.9539 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.007243, allocations: 4 kB / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.007247, allocations: 0 / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.007263, allocations: 4.031 kB / 0.9539 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.00733, allocations: 8 kB / 0.9539 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.007335, allocations: 0 / 0.9539 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.007359, allocations: 4 kB / 0.9539 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.007369, allocations: 0 / 0.9539 GB, free: 8.418 MB / 0.8575 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.0001388/0.007508, allocations: 201 kB / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.007584, allocations: 104.9 kB / 0.9542 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.007659, allocations: 116.4 kB / 0.9543 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.092e-05/0.007749, allocations: 184.2 kB / 0.9545 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.499e-05/0.007844, allocations: 184.3 kB / 0.9547 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.995e-05/0.007934, allocations: 184.9 kB / 0.9548 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.008217, allocations: 368.8 kB / 0.9552 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-05/0.008281, allocations: 112.9 kB / 0.9553 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.008381, allocations: 101 kB / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.068e-05/0.008471, allocations: 176.3 kB / 0.9556 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.008581, allocations: 192.4 kB / 0.9558 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.394e-05/0.008674, allocations: 176.3 kB / 0.9559 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001225/0.008797, allocations: 188.2 kB / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.009067, allocations: 303.8 kB / 0.9564 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.009149, allocations: 108.9 kB / 0.9565 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.009269, allocations: 188.2 kB / 0.9567 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.00937, allocations: 108.9 kB / 0.9568 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.009468, allocations: 176.3 kB / 0.9569 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.009526, allocations: 105 kB / 0.957 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.677e-05/0.009613, allocations: 99.27 kB / 0.9571 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.009613, allocations: 3.938 kB / 0.9571 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002417/0.009854, allocations: 11.89 kB / 0.9572 GB, free: 4.91 MB / 0.8575 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.0001635/0.01002, allocations: 170.5 kB / 0.9573 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.384e-05/0.0101, allocations: 7.984 kB / 0.9573 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.0101, allocations: 0 / 0.9573 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-06/0.01011, allocations: 12.06 kB / 0.9573 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.01056, allocations: 467.6 kB / 0.9578 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.01091, allocations: 196.2 kB / 0.958 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.008e-05/0.01099, allocations: 67.34 kB / 0.958 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.01101, allocations: 7.938 kB / 0.958 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.01104, allocations: 8.5 kB / 0.9581 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of SimCode: time 3.8e-07/0.01104, allocations: 0 / 0.9581 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of Templates: time 0.003058/0.0141, allocations: 314.9 kB / 0.9584 GB, free: 3.637 MB / 0.8575 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: 8.029752768576145]