Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001722/0.001722, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001787/0.001787, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.793 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.713/3.713, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.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_latest_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_latest_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.003135/0.003135, allocations: 67.11 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4939, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002347/0.4963, allocations: 0.8146 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.4976, allocations: 0.9211 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.4977, allocations: 3.938 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.4978, allocations: 11.86 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.498, allocations: 15.86 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.4982, allocations: 63.86 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.4984, allocations: 131.7 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.4985, allocations: 29.28 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.4986, allocations: 59.83 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.4988, allocations: 71.73 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.4988, allocations: 12 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.776e-05/0.4989, allocations: 12 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.4989, allocations: 31.89 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.499, allocations: 47.73 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.4992, allocations: 147.3 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4992, allocations: 4 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4992, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.4992, allocations: 0 / 1.366 GB, free: 11.19 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009114/0.5001, allocations: 373.7 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5002, allocations: 8.031 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.5002, allocations: 16.84 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.5005, allocations: 146.9 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.5005, allocations: 16.06 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.5005, allocations: 7.938 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.501, allocations: 151.6 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.501, allocations: 4 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.501, allocations: 0 / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.501, allocations: 4 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006148/0.5016, allocations: 151.8 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.5023, allocations: 336.2 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/0.5031, allocations: 170.4 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.5034, allocations: 80.95 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.5034, allocations: 4 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.5035, allocations: 30.56 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.5035, allocations: 4 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.001022/0.5045, allocations: 285.4 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5045, allocations: 55.41 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.5047, allocations: 156.2 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.5047, allocations: 25.7 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.036e-05/0.5048, allocations: 116 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.5049, allocations: 23.81 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.5049, allocations: 25.7 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5051, allocations: 326.8 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.5054, allocations: 71.92 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.5056, allocations: 83.86 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.5062, allocations: 157.2 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5062, allocations: 0 / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006272/0.5068, allocations: 205.4 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5068, allocations: 7.938 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5068, allocations: 0 / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5068, allocations: 0 / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.5071, allocations: 39.95 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5071, allocations: 0 / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.5073, allocations: 31.86 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.5073, allocations: 7.984 kB / 1.369 GB, free: 7.953 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: 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.0001337/0.5074, allocations: 126.9 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.5075, allocations: 11.89 kB / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.5075, allocations: 20.7 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5075, allocations: 0 / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5075, allocations: 0 / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.5075, allocations: 0 / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.5078, allocations: 157.2 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5078, allocations: 4 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.508, allocations: 35.95 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.508, allocations: 0 / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.508, allocations: 11.92 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.508, allocations: 0 / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.508, allocations: 3.938 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.5087, allocations: 303.3 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.5088, allocations: 15.88 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.5088, allocations: 3.938 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.509, allocations: 24.16 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.5091, allocations: 31.95 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.5091, allocations: 3.938 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001056/0.5092, allocations: 117.3 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.5092, allocations: 4 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002505/0.5095, allocations: 23.95 kB / 1.37 GB, free: 7.016 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: 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.0001592/0.5096, allocations: 107.2 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006325/0.5103, allocations: 163.8 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5103, allocations: 4 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.5106, allocations: 99.91 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.5109, allocations: 8 kB / 1.37 GB, free: 6.633 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.5115, allocations: 250 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.5116, allocations: 97.05 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000104/0.5117, allocations: 20.42 kB / 1.371 GB, free: 6.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.5118, allocations: 27.42 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.5118, allocations: 0 / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of Templates: time 0.006498/0.5183, allocations: 2.644 MB / 1.373 GB, free: 3.598 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.047265401110053]