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.001759/0.001759, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002234/0.002234, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.342/3.342, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.00196/0.00196, allocations: 71.08 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3988, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001737/0.4006, allocations: 0.6196 MB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 9.134e-05/0.4007, allocations: 11.98 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.4007, allocations: 0 / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.053e-05/0.4008, allocations: 3.938 kB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 1.554e-05/0.4008, allocations: 0 / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-05/0.4008, allocations: 12 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.4009, allocations: 23.86 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.401, allocations: 27.92 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.401, allocations: 15.92 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.294e-05/0.401, allocations: 11.94 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.401, allocations: 4 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.401, allocations: 0 / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.401, allocations: 11.98 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.4011, allocations: 19.86 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.047e-05/0.4011, allocations: 43.81 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.4011, allocations: 0 / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of FrontEnd: time 9.41e-07/0.4011, allocations: 4 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.4011, allocations: 0 / 1.328 GB, free: 220 kB / 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.0002864/0.4014, allocations: 274.6 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.387e-05/0.4015, allocations: 8.031 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.4015, allocations: 8.922 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4016, allocations: 126.4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-06/0.4017, allocations: 4.375 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.4017, allocations: 8.375 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.4018, allocations: 78.22 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.4018, allocations: 192 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.4018, allocations: 7.938 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.4018, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.692e-05/0.4019, allocations: 47.97 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.4023, allocations: 418.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.313e-05/0.4024, allocations: 173.1 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.4024, allocations: 80.14 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.4024, allocations: 79.22 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/0.4025, allocations: 113.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.4025, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 6.366e-05/0.4026, allocations: 29.66 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.4026, allocations: 126.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.4027, allocations: 133.8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.4027, allocations: 25.7 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.4028, allocations: 99.98 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.4028, allocations: 112 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.4028, allocations: 21.64 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.403, allocations: 318.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.403, allocations: 7.984 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.403, allocations: 11.94 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.968e-05/0.403, allocations: 16.84 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.403, allocations: 4.062 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.687e-05/0.4031, allocations: 45.69 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4031, allocations: 8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.4031, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.4031, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.454e-05/0.4032, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.4032, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.4032, allocations: 7.922 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4032, allocations: 4 kB / 1.33 GB, free: 13.79 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.0001138/0.4033, allocations: 193.6 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.4034, allocations: 113 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.4035, allocations: 104.5 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.981e-05/0.4035, allocations: 184.2 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-05/0.4036, allocations: 176.3 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.162e-05/0.4037, allocations: 192.1 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.4039, allocations: 364.9 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-05/0.404, allocations: 101 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.404, allocations: 104.9 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.631e-05/0.4041, allocations: 180.3 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.4042, allocations: 180.2 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.35e-05/0.4043, allocations: 188.2 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.715e-05/0.4044, allocations: 184.3 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.4045, allocations: 307.7 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.4046, allocations: 116.9 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.4047, allocations: 176.5 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-05/0.4047, allocations: 109 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.4048, allocations: 184.2 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.4049, allocations: 101 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.4049, allocations: 99.27 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4049, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003253/0.4053, allocations: 7.938 kB / 1.333 GB, free: 10.29 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.0001298/0.4054, allocations: 182.5 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.095e-05/0.4054, allocations: 11.94 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.4054, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.4054, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4058, allocations: 469.2 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.4061, allocations: 196.3 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.4061, allocations: 67.34 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.534e-05/0.4061, allocations: 3.984 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.4062, allocations: 11.5 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.4062, allocations: 4 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of Templates: time 0.002076/0.4082, allocations: 333.6 kB / 1.334 GB, free: 8.992 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 -s cvode -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: 9.515357295997092]