Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001747/0.001747, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002116/0.002116, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.731/2.731, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_11_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_11_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.002201/0.002201, allocations: 67.28 kB / 1.119 GB, free: 40.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3324, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002197/0.3346, allocations: 0.8552 MB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3358, allocations: 0.9327 MB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.3359, allocations: 0 / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.336, allocations: 11.86 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3361, allocations: 19.81 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.3363, allocations: 55.92 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.3365, allocations: 131.7 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.3366, allocations: 29.28 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.3367, allocations: 67.77 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3369, allocations: 75.73 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.3369, allocations: 16 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.3369, allocations: 12 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.337, allocations: 27.91 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.3371, allocations: 63.64 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.3373, allocations: 151.3 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3373, allocations: 0 / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3373, allocations: 0 / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3373, allocations: 0 / 1.287 GB, free: 8.719 MB / 0.9825 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.0008643/0.3382, allocations: 377.7 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3382, allocations: 11.97 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.3382, allocations: 12.89 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3385, allocations: 142.9 kB / 1.288 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3385, allocations: 12.12 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3385, allocations: 8 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.339, allocations: 159 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.339, allocations: 0 / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.339, allocations: 4 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.339, allocations: 4 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.3395, allocations: 155.8 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.3402, allocations: 379.5 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/0.3411, allocations: 174.5 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.3414, allocations: 86.64 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.3414, allocations: 0 / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3414, allocations: 34.56 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3414, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0009516/0.3424, allocations: 281.5 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3424, allocations: 55.41 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3426, allocations: 145.8 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3426, allocations: 25.7 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.3427, allocations: 116 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.3427, allocations: 31.72 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.3428, allocations: 33.64 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3429, allocations: 322.8 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.3432, allocations: 71.92 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.3434, allocations: 76.3 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004982/0.3439, allocations: 156.8 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3439, allocations: 0 / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006136/0.3446, allocations: 217.3 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3446, allocations: 6.656 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3446, allocations: 0 / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3446, allocations: 0 / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.3449, allocations: 35.95 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3449, allocations: 7.938 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.345, allocations: 27.91 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.3451, allocations: 4 kB / 1.29 GB, free: 5.426 MB / 0.9825 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.0001193/0.3452, allocations: 121.8 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.3452, allocations: 19.84 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.3453, allocations: 12.72 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3453, allocations: 4 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3453, allocations: 4 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3453, allocations: 3.984 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.3455, allocations: 208.6 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3455, allocations: 0 / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.3458, allocations: 39.89 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3458, allocations: 0 / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.3458, allocations: 0 / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3458, allocations: 0 / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.3458, allocations: 7.984 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.3465, allocations: 307.3 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.3465, allocations: 15.88 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.3465, allocations: 4 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.3467, allocations: 23.97 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3468, allocations: 35.89 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.3468, allocations: 4 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.3469, allocations: 111.2 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3469, allocations: 4 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002432/0.3472, allocations: 23.88 kB / 1.291 GB, free: 4.422 MB / 0.9825 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.0001379/0.3473, allocations: 101.5 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006172/0.3479, allocations: 171.8 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3479, allocations: 0 / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.3482, allocations: 87.86 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.3485, allocations: 31.92 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.3491, allocations: 255.8 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.3495, allocations: 0.7041 MB / 1.292 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.3496, allocations: 27.42 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3496, allocations: 4 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of Templates: time 0.003719/0.3533, allocations: 1.817 MB / 1.294 GB, free: 1.184 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.292078355007106]