Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001727/0.001727, 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.002063/0.002063, allocations: 222.3 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.474/1.474, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.298/3.298, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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: 69.78 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002173/0.3552, allocations: 0.8491 MB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3564, allocations: 0.9016 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.3565, allocations: 7.938 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.3566, allocations: 19.8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.3568, allocations: 19.8 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.3569, allocations: 43.94 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.3571, allocations: 139.6 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.3573, allocations: 33.53 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3574, allocations: 59.77 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.3575, allocations: 87.64 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.3576, allocations: 12 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.697e-05/0.3576, allocations: 12 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.3577, allocations: 43.84 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.3577, allocations: 47.72 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.358, allocations: 179.2 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.358, allocations: 0 / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.358, allocations: 0 / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.358, allocations: 4 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001003/0.359, allocations: 441.4 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.359, allocations: 8.031 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.3591, allocations: 16.84 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3593, allocations: 166.2 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3593, allocations: 8.375 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3593, allocations: 4.375 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.3599, allocations: 182.1 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3599, allocations: 4.125 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3599, allocations: 3.938 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3599, allocations: 8 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007978/0.3607, allocations: 221.3 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3618, allocations: 447.9 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.3623, allocations: 146.5 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.3626, allocations: 112.7 kB / 1.369 GB, free: 9.254 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3627, allocations: 4 kB / 1.369 GB, free: 9.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3627, allocations: 30.75 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3627, allocations: 4 kB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001255/0.3639, allocations: 361.4 kB / 1.369 GB, free: 8.848 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.364, allocations: 55.34 kB / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3642, allocations: 178.9 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3642, allocations: 25.7 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.3643, allocations: 124 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.3643, allocations: 27.75 kB / 1.37 GB, free: 8.414 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.3644, allocations: 25.72 kB / 1.37 GB, free: 8.383 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3645, allocations: 334.8 kB / 1.37 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.3649, allocations: 99.89 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.3653, allocations: 99.89 kB / 1.37 GB, free: 7.852 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.366, allocations: 221.1 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.366, allocations: 0 / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008082/0.3668, allocations: 265.3 kB / 1.371 GB, free: 7.367 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3668, allocations: 4 kB / 1.371 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3668, allocations: 4 kB / 1.371 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3668, allocations: 0 / 1.371 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.3671, allocations: 43.89 kB / 1.371 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.3671, allocations: 4 kB / 1.371 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.3673, allocations: 39.81 kB / 1.371 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.3674, allocations: 8 kB / 1.371 GB, free: 7.266 MB / 1.061 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 (9): * Single equations (assignments): 9 * 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.0001155/0.3675, allocations: 129.8 kB / 1.371 GB, free: 7.129 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.3675, allocations: 15.91 kB / 1.371 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.3676, allocations: 17.41 kB / 1.371 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3676, allocations: 0 / 1.371 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3676, allocations: 0 / 1.371 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3676, allocations: 3.938 kB / 1.371 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3678, allocations: 181.2 kB / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3678, allocations: 3.938 kB / 1.371 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.3681, allocations: 39.95 kB / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3681, allocations: 11.94 kB / 1.371 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3681, allocations: 4 kB / 1.371 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.3681, allocations: 0 / 1.371 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3681, allocations: 0 / 1.371 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/0.369, allocations: 367.1 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.369, allocations: 11.91 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.369, allocations: 0 / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.3693, allocations: 35.95 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.3693, allocations: 11.98 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.3694, allocations: 3.984 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001227/0.3695, allocations: 136.3 kB / 1.372 GB, free: 6.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3695, allocations: 4 kB / 1.372 GB, free: 6.246 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002525/0.3697, allocations: 27.88 kB / 1.372 GB, free: 6.219 MB / 1.061 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 (9): * Single equations (assignments): 9 * 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.0001256/0.3699, allocations: 99.23 kB / 1.372 GB, free: 6.113 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008199/0.3707, allocations: 227.8 kB / 1.372 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3707, allocations: 0 / 1.372 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.3711, allocations: 111.8 kB / 1.372 GB, free: 5.781 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.3714, allocations: 31.97 kB / 1.372 GB, free: 5.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.3721, allocations: 329.1 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.3723, allocations: 114.1 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/0.3723, allocations: 19.44 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3723, allocations: 0 / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of Templates: time 0.004193/0.3765, allocations: 2.085 MB / 1.375 GB, free: 3.172 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.669389980845153]