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.001349/0.001349, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001404/0.001404, allocations: 159.6 kB / 23.01 MB, free: 4.594 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.448/1.448, allocations: 177.2 MB / 203.4 MB, free: 8.992 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.919/2.919, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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.002117/0.002117, allocations: 59.91 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9596/0.9618, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002053/0.9638, allocations: 0.8214 MB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.9648, allocations: 0.9272 MB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.9649, allocations: 2.75 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.965, allocations: 10.03 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.9651, allocations: 20.86 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.9653, allocations: 59.41 kB / 1.188 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.9655, allocations: 127.5 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.9656, allocations: 28.09 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.9657, allocations: 58.66 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.9659, allocations: 78.52 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.9659, allocations: 17.31 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.6e-05/0.9659, allocations: 10.91 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.966, allocations: 33.88 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.176e-05/0.9661, allocations: 48.42 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.9663, allocations: 144.9 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9663, allocations: 0 / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9663, allocations: 0 / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.9663, allocations: 1.156 kB / 1.189 GB, free: 14.66 MB / 1.076 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.00083/0.9671, allocations: 372.7 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.9671, allocations: 9.156 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.9672, allocations: 14.41 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.9674, allocations: 159.3 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.9674, allocations: 8.031 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.9674, allocations: 9.406 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.9679, allocations: 143 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.9679, allocations: 1.641 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.9679, allocations: 9.156 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.9679, allocations: 1.875 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.9685, allocations: 151.6 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.9691, allocations: 328 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.97, allocations: 173.9 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.9703, allocations: 81.73 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.9703, allocations: 0.875 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.9703, allocations: 36.69 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.9703, allocations: 5 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.001029/0.9714, allocations: 282.5 kB / 1.191 GB, free: 13.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.9714, allocations: 54.48 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.9715, allocations: 146.5 kB / 1.191 GB, free: 13.42 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.9715, allocations: 31.23 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.9716, allocations: 109.5 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.9716, allocations: 28.38 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.9717, allocations: 31.47 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.9717, allocations: 326.9 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.972, allocations: 77.84 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.9723, allocations: 75.77 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.9729, allocations: 154 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9729, allocations: 0 / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000636/0.9735, allocations: 204.8 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9735, allocations: 9.438 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9735, allocations: 0 / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.9735, allocations: 1.891 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.9738, allocations: 34.81 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.9738, allocations: 2.094 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.974, allocations: 30.62 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.974, allocations: 4.312 kB / 1.192 GB, free: 12.75 MB / 1.076 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 8.22e-05/0.9741, allocations: 125.8 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.9741, allocations: 13.7 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.9742, allocations: 20.73 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9742, allocations: 5.141 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9742, allocations: 2.016 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9742, allocations: 0 / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.9744, allocations: 166.2 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9744, allocations: 4 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.9747, allocations: 36.67 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.9747, allocations: 5.125 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.9747, allocations: 10.89 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.9747, allocations: 3.938 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.9747, allocations: 2.094 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.9753, allocations: 297.4 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.9753, allocations: 8.75 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.9754, allocations: 9.656 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.9756, allocations: 18.08 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.9757, allocations: 32.47 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.9757, allocations: 11.61 kB / 1.193 GB, free: 12.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.9758, allocations: 111.8 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9758, allocations: 0 / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002627/0.976, allocations: 31.02 kB / 1.193 GB, free: 12.13 MB / 1.076 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.0001044/0.9761, allocations: 95.06 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006524/0.9768, allocations: 164.7 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9768, allocations: 4 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.9771, allocations: 99.73 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.9774, allocations: 13.45 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.9779, allocations: 246.2 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.124e-05/0.978, allocations: 97.89 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.94e-05/0.9781, allocations: 20.69 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.9782, allocations: 27.62 kB / 1.194 GB, free: 11.71 MB / 1.076 GB Notification: Performance of SimCode: time 7.21e-07/0.9782, allocations: 0 / 1.194 GB, free: 11.71 MB / 1.076 GB Notification: Performance of Templates: time 0.006702/0.9849, allocations: 2.597 MB / 1.196 GB, free: 11.46 MB / 1.076 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 -s ida -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: 9.203003801056184]