Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001523/0.001523, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001645/0.001645, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.789 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 3.082/3.082, allocations: 475.9 MB / 0.7699 GB, free: 4.742 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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [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.002192/0.002192, allocations: 70.06 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4041, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002319/0.4065, allocations: 0.7528 MB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.4079, allocations: 0.8861 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.4079, allocations: 3.938 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.408, allocations: 7.875 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.814e-05/0.4081, allocations: 15.92 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.4083, allocations: 43.89 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.4084, allocations: 79.88 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.4086, allocations: 15.98 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.4087, allocations: 47.78 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.4088, allocations: 43.81 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.4088, allocations: 12 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.058e-05/0.4089, allocations: 8 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.4089, allocations: 23.92 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.4089, allocations: 27.8 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.4091, allocations: 95.64 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4091, allocations: 0 / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4091, allocations: 0 / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4091, allocations: 0 / 1.285 GB, free: 9.824 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007243/0.4099, allocations: 318 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4099, allocations: 12.03 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.4099, allocations: 8.891 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.4101, allocations: 134.2 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.4101, allocations: 4.375 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.4102, allocations: 4.375 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.4105, allocations: 109.5 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4105, allocations: 0 / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.4105, allocations: 4 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4105, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.4109, allocations: 103.9 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.4115, allocations: 268.3 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.4122, allocations: 114.6 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.4124, allocations: 60.75 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.4124, allocations: 0 / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4125, allocations: 34.56 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4125, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007373/0.4132, allocations: 185.5 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.4133, allocations: 55.41 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.4134, allocations: 117.8 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.4134, allocations: 25.7 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.4135, allocations: 100.1 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.4136, allocations: 15.84 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.4136, allocations: 25.7 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4138, allocations: 322.8 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.414, allocations: 47.89 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.4142, allocations: 51.95 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.4145, allocations: 92.77 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4145, allocations: 3.938 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004269/0.4149, allocations: 137.5 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.415, allocations: 8 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.415, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.415, allocations: 4 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.4152, allocations: 31.91 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4152, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.4153, allocations: 19.97 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.4153, allocations: 3.938 kB / 1.287 GB, free: 7.277 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001159/0.4154, allocations: 117.8 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.4154, allocations: 11.95 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.4159, allocations: 145.9 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.416, allocations: 4 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.416, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.416, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.4162, allocations: 145.1 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4162, allocations: 4 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.4163, allocations: 27.91 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4164, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4164, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4164, allocations: 4 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4164, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.4169, allocations: 237.2 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.4169, allocations: 11.95 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.4169, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4171, allocations: 15.97 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.4171, allocations: 19.97 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.4172, allocations: 4 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.4172, allocations: 95.27 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4172, allocations: 0 / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002505/0.4175, allocations: 19.89 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001457/0.4176, allocations: 107.2 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004627/0.4181, allocations: 104.6 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4181, allocations: 3.938 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.4183, allocations: 63.89 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.4187, allocations: 7.984 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.4192, allocations: 172.3 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.4193, allocations: 71.33 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.31e-05/0.4193, allocations: 15.98 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.4194, allocations: 19.44 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.4194, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of Templates: time 0.005312/0.4247, allocations: 1.739 MB / 1.29 GB, free: 4.043 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.848144749179482]