Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001825/0.001825, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002283/0.002283, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.4892 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002062/0.002062, allocations: 72.48 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3178, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002024/0.3199, allocations: 0.6114 MB / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.32, allocations: 19.91 kB / 1.327 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.3201, allocations: 0 / 1.327 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.082e-05/0.3202, allocations: 0 / 1.327 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.3202, allocations: 4 kB / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.256e-05/0.3203, allocations: 4 kB / 1.327 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.348e-05/0.3204, allocations: 23.92 kB / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3205, allocations: 23.92 kB / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.906e-05/0.3205, allocations: 11.94 kB / 1.327 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.3206, allocations: 15.92 kB / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.3206, allocations: 4 kB / 1.327 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.3206, allocations: 4 kB / 1.327 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.3207, allocations: 11.94 kB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.3207, allocations: 19.91 kB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.3208, allocations: 43.77 kB / 1.327 GB, free: 1.082 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3208, allocations: 4 kB / 1.327 GB, free: 1.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.326e-06/0.3208, allocations: 7.922 kB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.3208, allocations: 0 / 1.327 GB, free: 1.07 MB / 1.014 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.0003885/0.3212, allocations: 274.6 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3213, allocations: 12.03 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.3213, allocations: 0.9375 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.3215, allocations: 126.5 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3215, allocations: 384 / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3216, allocations: 4.375 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3217, allocations: 82.16 kB / 1.328 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3217, allocations: 4.188 kB / 1.328 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3217, allocations: 7.938 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3218, allocations: 0 / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.3218, allocations: 51.91 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.3223, allocations: 414.9 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3224, allocations: 169.1 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.3225, allocations: 84.14 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.3225, allocations: 75.28 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.393e-05/0.3226, allocations: 113.8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3226, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.116e-05/0.3227, allocations: 33.59 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.3227, allocations: 138.7 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3229, allocations: 117.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3229, allocations: 25.7 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.378e-05/0.323, allocations: 104.1 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.323, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.323, allocations: 17.72 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3231, allocations: 322.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.3232, allocations: 8 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.425e-05/0.3232, allocations: 7.984 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.3232, allocations: 12.92 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3232, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001288/0.3233, allocations: 53.61 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3233, allocations: 8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3234, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3234, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.3234, allocations: 4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3234, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.3235, allocations: 7.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3235, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 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.0001312/0.3236, allocations: 201.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/0.3237, allocations: 104.9 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.3237, allocations: 120.4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.266e-05/0.3238, allocations: 176.3 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.992e-05/0.3239, allocations: 180.2 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.866e-05/0.324, allocations: 184.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3242, allocations: 364.9 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/0.3243, allocations: 108.9 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.3243, allocations: 105 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.771e-05/0.3244, allocations: 180.2 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.951e-05/0.3245, allocations: 176.3 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.867e-05/0.3245, allocations: 188.2 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.732e-05/0.3246, allocations: 184.2 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.3248, allocations: 319.6 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3248, allocations: 105 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/0.3249, allocations: 180.5 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.325, allocations: 112.9 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.3251, allocations: 180.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.3252, allocations: 104.9 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.722e-05/0.3252, allocations: 95.27 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3252, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002405/0.3255, allocations: 15.94 kB / 1.332 GB, free: 11.14 MB / 1.029 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.0001463/0.3256, allocations: 174.5 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.151e-05/0.3257, allocations: 7.984 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3257, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.3257, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3261, allocations: 463.7 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.3265, allocations: 225.9 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.366e-05/0.3266, allocations: 71.33 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.3266, allocations: 11.5 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3266, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of Templates: time 0.002158/0.3288, allocations: 0.6053 MB / 1.334 GB, free: 9.539 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.87327766790986]