Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00116/0.00116, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001897/0.003057, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001208/0.001208, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001712/0.00292, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.059/1.059, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.16, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.868/1.868, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5293/2.397, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.[0-9,]+.|add1.y",fileNamePrefix="Buildings_12_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.[0-9,]+.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.819e-05, allocations: 10.25 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001597/0.001625, allocations: 0.8782 MB / 0.7302 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.002547, allocations: 0.9504 MB / 0.7311 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.002609, allocations: 0 / 0.7311 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.857e-05/0.002698, allocations: 22.66 kB / 0.7312 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.00279, allocations: 12.73 kB / 0.7312 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.002939, allocations: 59.8 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.003104, allocations: 134.6 kB / 0.7313 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.003218, allocations: 25.95 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.003344, allocations: 91.84 kB / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.003476, allocations: 68.28 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.00351, allocations: 13.41 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.003529, allocations: 12 kB / 0.7316 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.251e-05/0.003572, allocations: 27.94 kB / 0.7316 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.003614, allocations: 23.94 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.003752, allocations: 88.14 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.689e-05/0.003769, allocations: 0.9375 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/0.003771, allocations: 4 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.003789, allocations: 0 / 0.7317 GB, free: 2.133 MB / 0.698 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.000545/0.004334, allocations: 345.5 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.00437, allocations: 8.031 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.004412, allocations: 18.17 kB / 0.732 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.00456, allocations: 138.1 kB / 0.7322 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.004584, allocations: 8.375 kB / 0.7322 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.004598, allocations: 8.375 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.004806, allocations: 120.7 kB / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.004814, allocations: 0 / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.004825, allocations: 9.719 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.004831, allocations: 0 / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.969e-05/0.004901, allocations: 27.97 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.005269, allocations: 250.3 kB / 0.7326 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.005567, allocations: 122.5 kB / 0.7327 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.005603, allocations: 21.61 kB / 0.7327 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.005624, allocations: 5.5 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.005648, allocations: 30.56 kB / 0.7328 GB, free: 0.957 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.00565, allocations: 0 / 0.7328 GB, free: 0.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000243/0.005893, allocations: 94.39 kB / 0.7328 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.005925, allocations: 55.41 kB / 0.7329 GB, free: 0.793 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.006007, allocations: 149.9 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.006021, allocations: 29.7 kB / 0.7331 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.006066, allocations: 96.23 kB / 0.7332 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.006093, allocations: 33.48 kB / 0.7332 GB, free: 484 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.006136, allocations: 25.69 kB / 0.7332 GB, free: 452 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.006216, allocations: 334.8 kB / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.006248, allocations: 10.83 kB / 0.7335 GB, free: 96 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.781e-05/0.006275, allocations: 20.48 kB / 0.7336 GB, free: 76 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/0.006357, allocations: 47.52 kB / 0.7336 GB, free: 24 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.00636, allocations: 0.5938 kB / 0.7336 GB, free: 24 kB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001199/0.00648, allocations: 74.72 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.006494, allocations: 4 kB / 0.7337 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.006498, allocations: 0 / 0.7337 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.006509, allocations: 4.719 kB / 0.7337 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.006642, allocations: 29.12 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.006647, allocations: 7.922 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.0067, allocations: 19.92 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.006707, allocations: 1.25 kB / 0.7337 GB, free: 15.88 MB / 0.7136 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.0001007/0.006808, allocations: 120.7 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.00683, allocations: 9.031 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.006861, allocations: 16.77 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.006864, allocations: 4 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.006866, allocations: 4.469 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.006872, allocations: 5.562 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.006997, allocations: 109.7 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006999, allocations: 0 / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.007093, allocations: 31.95 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.007107, allocations: 9.172 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007109, allocations: 0 / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.007116, allocations: 4 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007118, allocations: 0.625 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007119, allocations: 0 / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.007283, allocations: 222.8 kB / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.007299, allocations: 4.75 kB / 0.7343 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.007363, allocations: 7.984 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.007438, allocations: 36.77 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.007446, allocations: 8 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.849e-05/0.007475, allocations: 35.81 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007475, allocations: 4 kB / 0.7344 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001303/0.007605, allocations: 27.89 kB / 0.7344 GB, free: 15.2 MB / 0.7136 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.0001713/0.007776, allocations: 81.67 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.007897, allocations: 50.55 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.007907, allocations: 4 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.557e-05/0.007962, allocations: 45.7 kB / 0.7346 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.008133, allocations: 25.17 kB / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.008678, allocations: 241.9 kB / 0.7348 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.008726, allocations: 63.34 kB / 0.7349 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.143e-05/0.008787, allocations: 17.3 kB / 0.7349 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.008891, allocations: 77.39 kB / 0.735 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of SimCode: time 1.342e-06/0.008892, allocations: 0 / 0.735 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.004512/0.0134, allocations: 2.638 MB / 0.7375 GB, free: 12.04 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.084262167103589]