Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001452/0.001452, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001614/0.001614, allocations: 214 kB / 22.25 MB, free: 5.258 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 7.781 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.036/3.036, allocations: 476 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.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_11_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_11_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.002126/0.002126, allocations: 66.56 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3967, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.003344/0.4, allocations: 0.8144 MB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.4018, allocations: 0.9094 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.402, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.4021, allocations: 15.8 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.4023, allocations: 19.86 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.4027, allocations: 59.88 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.403, allocations: 131.7 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.4032, allocations: 21.3 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.4033, allocations: 67.75 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.4036, allocations: 67.73 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.4036, allocations: 12 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.705e-05/0.4037, allocations: 19.94 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.44e-05/0.4038, allocations: 31.91 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.4039, allocations: 47.77 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.4042, allocations: 143.4 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4042, allocations: 4 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4042, allocations: 0 / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.4042, allocations: 0 / 1.285 GB, free: 9.527 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001195/0.4054, allocations: 369.7 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4055, allocations: 23.89 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.4055, allocations: 8.891 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.4058, allocations: 146.8 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.4059, allocations: 16.11 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.4059, allocations: 12 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.4064, allocations: 155.2 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4064, allocations: 0 / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.4064, allocations: 4 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4064, allocations: 3.938 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/0.407, allocations: 155.8 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.4078, allocations: 336.2 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009291/0.4087, allocations: 166.6 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.4091, allocations: 86.64 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.4091, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.4091, allocations: 38.5 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.4091, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.001009/0.4101, allocations: 281.5 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.4102, allocations: 55.39 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.4104, allocations: 149.2 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.4105, allocations: 25.7 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.4106, allocations: 108 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.4106, allocations: 27.8 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.4107, allocations: 29.7 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.4109, allocations: 322.8 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.4112, allocations: 75.92 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.4114, allocations: 76.3 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.412, allocations: 164.8 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.412, allocations: 0 / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006404/0.4126, allocations: 201.4 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.4126, allocations: 15.88 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4127, allocations: 0 / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4127, allocations: 0 / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.4129, allocations: 43.89 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4129, allocations: 0 / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.4131, allocations: 27.91 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.4131, allocations: 0 / 1.288 GB, free: 6.293 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: 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.0001385/0.4133, allocations: 125.8 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.4133, allocations: 15.84 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.4134, allocations: 16.72 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4134, allocations: 8 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4134, allocations: 0 / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4134, allocations: 0 / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.4136, allocations: 161.2 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4136, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.4139, allocations: 39.89 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4139, allocations: 0 / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.4139, allocations: 3.938 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4139, allocations: 0 / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4139, allocations: 0 / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/0.4146, allocations: 307.3 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.4146, allocations: 15.84 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.4146, allocations: 19.92 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.4148, allocations: 11.98 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4149, allocations: 35.95 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.415, allocations: 7.984 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001036/0.4151, allocations: 117.7 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4151, allocations: 0 / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002722/0.4153, allocations: 20 kB / 1.289 GB, free: 5.348 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001586/0.4155, allocations: 99.25 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006822/0.4162, allocations: 167.8 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4162, allocations: 0 / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.4165, allocations: 99.84 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.4168, allocations: 15.98 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.4175, allocations: 238 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.4177, allocations: 93.05 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.4178, allocations: 20.42 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-05/0.4179, allocations: 27.42 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.4179, allocations: 0 / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of Templates: time 0.00717/0.425, allocations: 2.662 MB / 1.293 GB, free: 1.918 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.814701585099101]