Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001822/0.001822, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00224/0.00224, allocations: 219 kB / 23.01 MB, free: 4.566 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.023 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 2.805/2.805, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] 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.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [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.00211/0.00211, allocations: 70.5 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4023, allocations: 169.9 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002021/0.4043, allocations: 0.6653 MB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.4045, allocations: 11.92 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.4045, allocations: 0 / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.4046, allocations: 7.984 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.005e-05/0.4047, allocations: 3.938 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.033e-05/0.4047, allocations: 0 / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.458e-05/0.4048, allocations: 23.98 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.405, allocations: 19.98 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.405, allocations: 19.94 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.4051, allocations: 15.92 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.4051, allocations: 3.938 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.4051, allocations: 4 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.4051, allocations: 11.94 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.4052, allocations: 23.84 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.4053, allocations: 51.75 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4053, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4053, allocations: 3.938 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4053, allocations: 0 / 1.285 GB, free: 10.34 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000413/0.4057, allocations: 278.2 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4058, allocations: 8.031 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.4058, allocations: 4.938 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.406, allocations: 118.5 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.406, allocations: 4.375 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.406, allocations: 4.375 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.4062, allocations: 86.09 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4062, allocations: 192 / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4062, allocations: 7.938 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4062, allocations: 0 / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.4063, allocations: 51.91 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.4068, allocations: 462.2 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.4069, allocations: 165.1 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.407, allocations: 80.14 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.407, allocations: 83.28 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.971e-05/0.4071, allocations: 113.8 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.4071, allocations: 0 / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.845e-05/0.4072, allocations: 33.8 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.4072, allocations: 130.7 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.4074, allocations: 172.1 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.4074, allocations: 25.7 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.4075, allocations: 104.1 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.4075, allocations: 0 / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.4076, allocations: 17.72 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4077, allocations: 314.8 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.4077, allocations: 11.98 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.4078, allocations: 8.109 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.4078, allocations: 20.72 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4078, allocations: 64 / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001361/0.4079, allocations: 61.64 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4079, allocations: 4 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.408, allocations: 3.984 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.408, allocations: 0 / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.408, allocations: 7.984 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.408, allocations: 3.938 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.4081, allocations: 7.938 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.4081, allocations: 0 / 1.288 GB, free: 7.801 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: 0 () * 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.0001389/0.4082, allocations: 201.1 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/0.4083, allocations: 112.9 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.4084, allocations: 108.8 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.5e-05/0.4084, allocations: 192.1 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.59e-05/0.4085, allocations: 180.2 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.912e-05/0.4086, allocations: 176.3 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.4089, allocations: 396.2 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-05/0.409, allocations: 106.8 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.409, allocations: 104.9 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.465e-05/0.4091, allocations: 180.2 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.386e-05/0.4092, allocations: 176.3 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.184e-05/0.4093, allocations: 188.2 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-05/0.4094, allocations: 184.2 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.4096, allocations: 307.7 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.4097, allocations: 113 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.4098, allocations: 184.2 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4099, allocations: 105 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.41, allocations: 188.1 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.41, allocations: 105 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001143/0.4101, allocations: 134 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4101, allocations: 0 / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002301/0.4104, allocations: 4 kB / 1.291 GB, free: 4.234 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: 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.0001767/0.4105, allocations: 174.5 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.771e-05/0.4106, allocations: 16.27 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4106, allocations: 0 / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.4106, allocations: 0 / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.4111, allocations: 463.6 kB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.4115, allocations: 241.9 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.4119, allocations: 0.6924 MB / 1.293 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.4119, allocations: 7.438 kB / 1.293 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.4119, allocations: 4 kB / 1.293 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.002567/0.4145, allocations: 0.7681 MB / 1.293 GB, free: 1.816 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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: 11.19174777297303]