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.001377/0.001377, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001503/0.001503, allocations: 222.1 kB / 23 MB, free: 4.91 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.769/2.769, allocations: 476 MB / 0.7707 GB, free: 4.758 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.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.002158/0.002158, allocations: 65.56 kB / 1.118 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3847, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002358/0.387, allocations: 0.8241 MB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3884, allocations: 0.9094 MB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.3885, allocations: 0 / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.3886, allocations: 15.8 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.3888, allocations: 19.88 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.389, allocations: 63.86 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.3892, allocations: 127.7 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3894, allocations: 33.28 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3895, allocations: 59.77 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3896, allocations: 71.72 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.3897, allocations: 12 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.861e-05/0.3897, allocations: 12 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.3898, allocations: 31.91 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.685e-05/0.3899, allocations: 47.78 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.3901, allocations: 147.3 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3901, allocations: 7.938 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3901, allocations: 4 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.3901, allocations: 3.938 kB / 1.286 GB, free: 9.547 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.000941/0.391, allocations: 377.7 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3911, allocations: 8.031 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.3911, allocations: 12.89 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3914, allocations: 142.9 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.3914, allocations: 8.125 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3914, allocations: 11.94 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.3919, allocations: 154.9 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3919, allocations: 0 / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.3919, allocations: 4 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.3919, allocations: 4 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.3925, allocations: 151.8 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.3932, allocations: 340.2 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008826/0.3941, allocations: 162.5 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.3943, allocations: 86.69 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.3944, allocations: 8 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3944, allocations: 30.56 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3944, allocations: 0 / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0009911/0.3954, allocations: 281.5 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.3954, allocations: 55.41 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3956, allocations: 149.6 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.3956, allocations: 29.7 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.3957, allocations: 108 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.3957, allocations: 23.81 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.3958, allocations: 33.64 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.396, allocations: 322.8 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.3963, allocations: 75.92 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.3965, allocations: 76.23 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.3972, allocations: 160.8 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3972, allocations: 4 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006461/0.3978, allocations: 205.4 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3978, allocations: 7.938 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3978, allocations: 0 / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3978, allocations: 0 / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.3981, allocations: 39.95 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3981, allocations: 0 / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.3983, allocations: 27.91 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3983, allocations: 4 kB / 1.289 GB, free: 6.332 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.3984, allocations: 129.8 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.3985, allocations: 19.84 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.3985, allocations: 16.72 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3985, allocations: 8 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3985, allocations: 0 / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3985, allocations: 3.984 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3987, allocations: 153.3 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3987, allocations: 0 / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.399, allocations: 35.95 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.399, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.399, allocations: 11.94 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.399, allocations: 0 / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.399, allocations: 7.984 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.3997, allocations: 295.3 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.3997, allocations: 23.83 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.3997, allocations: 3.938 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.3999, allocations: 19.97 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.4, allocations: 39.95 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.4, allocations: 0 / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.757e-05/0.4001, allocations: 111.2 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4001, allocations: 0 / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002475/0.4004, allocations: 24 kB / 1.29 GB, free: 5.387 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.0001312/0.4005, allocations: 103.1 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006508/0.4011, allocations: 175.8 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4011, allocations: 0 / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.4014, allocations: 83.92 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.4017, allocations: 15.98 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.4023, allocations: 267.7 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.4024, allocations: 93.03 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.572e-05/0.4025, allocations: 31.41 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.4025, allocations: 0 / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.003857/0.4064, allocations: 1.863 MB / 1.293 GB, free: 2.723 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/jenkins1/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: 11.291834956035018]