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.0007603/0.0007603, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.001948, allocations: 440 kB / 10.41 MB, free: 284 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.0007175/0.0007175, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009841/0.001702, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9784/0.9784, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.098/1.076, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.549/2.549, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2774/2.827, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|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.[0-9,]+.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.167e-06/4.167e-06, allocations: 4 kB / 0.8189 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.927e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002793/0.002822, allocations: 0.8809 MB / 0.8198 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004254, allocations: 0.9481 MB / 0.8207 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.004342, allocations: 4 kB / 0.8207 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.803e-05/0.00444, allocations: 23.8 kB / 0.8208 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.945e-05/0.00454, allocations: 11.88 kB / 0.8208 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.004738, allocations: 63.78 kB / 0.8208 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.004945, allocations: 127.7 kB / 0.821 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.00508, allocations: 29.92 kB / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.005265, allocations: 99.75 kB / 0.8211 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.005443, allocations: 55.86 kB / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.005487, allocations: 12 kB / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.875e-05/0.005516, allocations: 16 kB / 0.8212 GB, free: 180 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.005576, allocations: 35.86 kB / 0.8212 GB, free: 144 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.005626, allocations: 23.94 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.005801, allocations: 91.61 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.408e-05/0.005815, allocations: 0 / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.292e-06/0.005817, allocations: 0 / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.005834, allocations: 0 / 0.8213 GB, free: 28 kB / 0.7917 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.0007047/0.006539, allocations: 340.2 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.006585, allocations: 12.02 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.006645, allocations: 12.94 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.00683, allocations: 144.4 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.006856, allocations: 12.38 kB / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.006879, allocations: 4.375 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.00716, allocations: 128.1 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.00717, allocations: 0 / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.007187, allocations: 4 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.007195, allocations: 4 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.234e-05/0.007288, allocations: 23.98 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.007753, allocations: 249.6 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.008161, allocations: 117.2 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.008217, allocations: 24.84 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.008238, allocations: 4 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.008265, allocations: 30.56 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.008266, allocations: 0 / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0002569/0.008523, allocations: 93.53 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.008556, allocations: 55.41 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.008664, allocations: 153.2 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.008685, allocations: 25.7 kB / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.008739, allocations: 108.2 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.008775, allocations: 27.73 kB / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.008837, allocations: 29.69 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.008946, allocations: 326.8 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.00899, allocations: 14.81 kB / 0.8232 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.009027, allocations: 15.94 kB / 0.8232 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.009129, allocations: 50.47 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.009131, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001506/0.009282, allocations: 65.61 kB / 0.8233 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.0093, allocations: 9.406 kB / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.009305, allocations: 0 / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.009319, allocations: 0 / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.009484, allocations: 31.95 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.009489, allocations: 11.94 kB / 0.8233 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.009567, allocations: 15.92 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.009582, allocations: 4 kB / 0.8234 GB, free: 13.76 MB / 0.8073 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.0001112/0.009693, allocations: 120.7 kB / 0.8235 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.009733, allocations: 11.97 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.009769, allocations: 16.78 kB / 0.8235 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.009771, allocations: 3.938 kB / 0.8235 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.009774, allocations: 0 / 0.8235 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.00978, allocations: 3.938 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.009949, allocations: 109.8 kB / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009951, allocations: 0 / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.01009, allocations: 35.97 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.01011, allocations: 7.953 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01011, allocations: 0 / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01013, allocations: 3.984 kB / 0.8237 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01013, allocations: 0 / 0.8237 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01013, allocations: 0 / 0.8237 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.01035, allocations: 226.1 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.01037, allocations: 4 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.01048, allocations: 15.92 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/0.01058, allocations: 31.95 kB / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.01059, allocations: 4 kB / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.01063, allocations: 36.77 kB / 0.824 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01063, allocations: 0 / 0.824 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002432/0.01087, allocations: 27.89 kB / 0.824 GB, free: 13.06 MB / 0.8073 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.0001264/0.011, allocations: 84.41 kB / 0.8241 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.01116, allocations: 53.52 kB / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.01117, allocations: 0 / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.01127, allocations: 41.12 kB / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.01159, allocations: 146.9 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006577/0.01225, allocations: 235.4 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.243e-05/0.0123, allocations: 63.34 kB / 0.8246 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.739e-05/0.01239, allocations: 16.48 kB / 0.8246 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.01254, allocations: 75.36 kB / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/0.01254, allocations: 0 / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of Templates: time 0.005646/0.01819, allocations: 2.551 MB / 0.8272 GB, free: 9.75 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.470220810733736]