Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.001792/0.001792, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002387/0.002387, allocations: 214 kB / 23 MB, free: 4.969 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.658/1.658, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.402/3.402, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [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.002087/0.002087, allocations: 68.69 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3962, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002437/0.3986, allocations: 0.8274 MB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.4003, allocations: 0.925 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.4004, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.4005, allocations: 15.75 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.4007, allocations: 15.86 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.4009, allocations: 63.86 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.4012, allocations: 123.7 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.4014, allocations: 37.28 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.4015, allocations: 59.78 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.4017, allocations: 79.72 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.445e-05/0.4017, allocations: 12 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.201e-05/0.4018, allocations: 12 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.4018, allocations: 35.91 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.371e-05/0.4019, allocations: 51.7 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.4022, allocations: 147.4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4022, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4022, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.4022, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001048/0.4032, allocations: 377.6 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4033, allocations: 8.031 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.4034, allocations: 12.89 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.4036, allocations: 147.8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.4036, allocations: 8.125 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.4037, allocations: 8 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.4042, allocations: 151.4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4042, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.4042, allocations: 7.938 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4042, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.4048, allocations: 151.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.4056, allocations: 340.2 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009527/0.4065, allocations: 166.6 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.4068, allocations: 80.86 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.4068, allocations: 11.94 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4069, allocations: 34.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.4069, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.001001/0.4079, allocations: 273.5 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.4079, allocations: 55.41 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.4081, allocations: 153.6 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.4081, allocations: 29.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.4082, allocations: 115.9 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.4083, allocations: 23.84 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.4083, allocations: 29.7 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4085, allocations: 322.8 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.4088, allocations: 71.92 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.4091, allocations: 75.92 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.4096, allocations: 156.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4096, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006368/0.4102, allocations: 206 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4103, allocations: 7.938 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4103, allocations: 7.922 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4103, allocations: 96 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.4106, allocations: 39.89 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4106, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.4108, allocations: 31.91 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.4108, allocations: 4 kB / 1.332 GB, free: 11.38 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001277/0.4109, allocations: 118.4 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.411, allocations: 15.89 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.411, allocations: 20.66 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.411, allocations: 4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.411, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.4111, allocations: 11.95 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.4111, allocations: 4 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.4113, allocations: 19.97 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.4114, allocations: 35.95 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008851/0.4123, allocations: 300.7 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007322/0.413, allocations: 382.5 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003046/0.4133, allocations: 91.91 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.634e-05/0.4134, allocations: 117.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of Backend: time 3.9e-07/0.4134, allocations: 4 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007103/0.4141, allocations: 170.2 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008123/0.4149, allocations: 0.6519 MB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of Templates: time 0.006786/0.4217, allocations: 3.065 MB / 1.337 GB, free: 6.336 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.677242224999645]