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.001617/0.001617, 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.001851/0.001851, 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.314/3.314, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 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.002055/0.002055, allocations: 63.58 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002038/0.3593, allocations: 0.8068 MB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3606, allocations: 0.925 MB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.3606, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.3607, allocations: 15.8 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.3608, allocations: 11.88 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.361, allocations: 63.86 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.3612, allocations: 123.7 kB / 1.367 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3613, allocations: 33.3 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.9e-05/0.3614, allocations: 63.75 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.3616, allocations: 71.72 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.3616, allocations: 12 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.674e-05/0.3617, allocations: 12 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.3617, allocations: 35.8 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.3618, allocations: 51.77 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.362, allocations: 147.3 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.362, allocations: 0 / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.362, allocations: 0 / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.362, allocations: 4 kB / 1.367 GB, free: 11.22 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.0008709/0.3629, allocations: 373.7 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3629, allocations: 8.031 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.363, allocations: 12.84 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.3632, allocations: 146.9 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3632, allocations: 12.12 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3632, allocations: 7.984 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.3637, allocations: 157.5 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3637, allocations: 3.938 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3637, allocations: 0 / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.3637, allocations: 4 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/0.3643, allocations: 151.8 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.3649, allocations: 340.2 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.3658, allocations: 166.5 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.3661, allocations: 84.84 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3661, allocations: 4 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3661, allocations: 34.56 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.3661, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.001035/0.3672, allocations: 285.4 kB / 1.369 GB, free: 9.348 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.3672, allocations: 59.41 kB / 1.369 GB, free: 9.277 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3674, allocations: 149 kB / 1.369 GB, free: 9.117 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.3674, allocations: 25.7 kB / 1.369 GB, free: 9.086 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.3675, allocations: 108 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.3675, allocations: 23.8 kB / 1.369 GB, free: 8.953 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.3676, allocations: 30.08 kB / 1.369 GB, free: 8.918 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3677, allocations: 322.8 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.368, allocations: 71.92 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.3683, allocations: 87.86 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.3688, allocations: 152.7 kB / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3688, allocations: 0 / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006329/0.3695, allocations: 209.4 kB / 1.37 GB, free: 8.074 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3695, allocations: 7.938 kB / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3695, allocations: 0 / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3695, allocations: 0 / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.3698, allocations: 39.95 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3698, allocations: 4 kB / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.3699, allocations: 27.86 kB / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.37, allocations: 7.984 kB / 1.37 GB, free: 7.988 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.0001203/0.3701, allocations: 130.9 kB / 1.37 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.3701, allocations: 11.89 kB / 1.37 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.3702, allocations: 12.72 kB / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3702, allocations: 4 kB / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3702, allocations: 0 / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3702, allocations: 11.92 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3704, allocations: 157.2 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3704, allocations: 0 / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.3706, allocations: 39.95 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3706, allocations: 0 / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.3706, allocations: 3.938 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3706, allocations: 4.281 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3707, allocations: 0 / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.3713, allocations: 307.2 kB / 1.371 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.3714, allocations: 15.88 kB / 1.371 GB, free: 7.246 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.3714, allocations: 3.938 kB / 1.371 GB, free: 7.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.3716, allocations: 23.97 kB / 1.371 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/0.3717, allocations: 27.97 kB / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3717, allocations: 3.984 kB / 1.371 GB, free: 7.188 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.897e-05/0.3718, allocations: 117.9 kB / 1.371 GB, free: 7.074 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3718, allocations: 0 / 1.371 GB, free: 7.074 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00026/0.372, allocations: 27.95 kB / 1.371 GB, free: 7.047 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.0001254/0.3722, allocations: 99.19 kB / 1.371 GB, free: 6.941 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006211/0.3728, allocations: 167.8 kB / 1.371 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3728, allocations: 0 / 1.371 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.3731, allocations: 91.86 kB / 1.371 GB, free: 6.688 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.3734, allocations: 15.42 kB / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.374, allocations: 271.7 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.3741, allocations: 101 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.314e-05/0.3742, allocations: 23.41 kB / 1.372 GB, free: 6.238 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3742, allocations: 0 / 1.372 GB, free: 6.238 MB / 1.061 GB Notification: Performance of Templates: time 0.003654/0.3778, allocations: 1.858 MB / 1.373 GB, free: 4.395 MB / 1.061 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.555060583166778]