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.00144/0.00144, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001674/0.001674, allocations: 166.6 kB / 22.46 MB, free: 5.375 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.48/1.48, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.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 2.937/2.937, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.83e-05/4.103e-05, allocations: 2.281 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002712/0.002753, allocations: 0.8166 MB / 1.001 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.004601, allocations: 0.9249 MB / 1.002 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.004711, allocations: 0 / 1.002 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.004968, allocations: 11.81 kB / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.005128, allocations: 23.84 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.005397, allocations: 59.8 kB / 1.002 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.005631, allocations: 127.7 kB / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.005813, allocations: 41.22 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.005988, allocations: 75.8 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.006171, allocations: 63.86 kB / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.006229, allocations: 12 kB / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.231e-05/0.006261, allocations: 12 kB / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.006334, allocations: 31.89 kB / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.006413, allocations: 39.91 kB / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.006688, allocations: 155.5 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.006692, allocations: 0 / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.242e-06/0.006694, allocations: 0 / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.006707, allocations: 0 / 1.002 GB, free: 4.859 MB / 0.9512 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.001162/0.00787, allocations: 373.7 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.007913, allocations: 8.031 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.007977, allocations: 16.84 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.008228, allocations: 146.1 kB / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.008246, allocations: 8.375 kB / 1.003 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.008271, allocations: 4.375 kB / 1.003 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.008778, allocations: 165.4 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.008791, allocations: 0 / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.00881, allocations: 0 / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.00882, allocations: 4 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.009426, allocations: 155.8 kB / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007362/0.01016, allocations: 336.2 kB / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009285/0.01109, allocations: 166.4 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.0114, allocations: 80.95 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.01142, allocations: 7.938 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.01147, allocations: 38.55 kB / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.01147, allocations: 0 / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.00109/0.01256, allocations: 273.5 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.01262, allocations: 59.41 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.01284, allocations: 152.8 kB / 1.004 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.01287, allocations: 25.7 kB / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.013, allocations: 112 kB / 1.005 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.01305, allocations: 27.75 kB / 1.005 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.01315, allocations: 25.7 kB / 1.005 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002429/0.01339, allocations: 322.8 kB / 1.005 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.0137, allocations: 71.92 kB / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.01398, allocations: 79.92 kB / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.01456, allocations: 152.7 kB / 1.005 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.01457, allocations: 3.984 kB / 1.005 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007199/0.01529, allocations: 217.9 kB / 1.005 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.01531, allocations: 4 kB / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.01531, allocations: 0 / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.01534, allocations: 3.938 kB / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.01561, allocations: 43.89 kB / 1.005 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.01562, allocations: 4 kB / 1.005 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.0158, allocations: 23.97 kB / 1.005 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.01582, allocations: 7.984 kB / 1.005 GB, free: 1.625 MB / 0.9512 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.0001844/0.01601, allocations: 122.4 kB / 1.006 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.01606, allocations: 7.953 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.01611, allocations: 20.77 kB / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.01612, allocations: 3.938 kB / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.01613, allocations: 0 / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01613, allocations: 4 kB / 1.006 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.01644, allocations: 165.2 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01644, allocations: 0 / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.01669, allocations: 35.95 kB / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.0167, allocations: 0 / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.01672, allocations: 7.984 kB / 1.006 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01673, allocations: 0 / 1.006 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.01673, allocations: 3.938 kB / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/0.01756, allocations: 303.3 kB / 1.006 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.01759, allocations: 15.84 kB / 1.006 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.01762, allocations: 0 / 1.006 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.01783, allocations: 19.97 kB / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.01796, allocations: 39.89 kB / 1.006 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.01797, allocations: 0 / 1.006 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001093/0.01808, allocations: 116.8 kB / 1.006 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01808, allocations: 0 / 1.006 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002661/0.01835, allocations: 24 kB / 1.006 GB, free: 0.7031 MB / 0.9512 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.0001758/0.01853, allocations: 95.25 kB / 1.006 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006961/0.01922, allocations: 175.9 kB / 1.007 GB, free: 436 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01922, allocations: 0 / 1.007 GB, free: 436 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.01959, allocations: 99.84 kB / 1.007 GB, free: 336 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.01993, allocations: 17.66 kB / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.02067, allocations: 249.2 kB / 1.007 GB, free: 44 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.02083, allocations: 89.38 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000108/0.02094, allocations: 28.42 kB / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.02105, allocations: 24.42 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.02105, allocations: 0 / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of Templates: time 0.006891/0.02794, allocations: 2.586 MB / 1.01 GB, free: 13.32 MB / 0.9669 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/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: 8.540503818541765]