Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 108.4 kB / 16.27 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 192.5 kB / 17.2 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.1 MB / 0.7111 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.52 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3236, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002316/0.3259, allocations: 0.8531 MB / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3273, allocations: 0.8989 MB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.3274, allocations: 0 / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.3275, allocations: 11.86 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3277, allocations: 19.81 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3279, allocations: 51.92 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.3281, allocations: 139.7 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.3283, allocations: 45 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.3284, allocations: 51.84 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.3285, allocations: 79.72 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3286, allocations: 12 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.025e-05/0.3286, allocations: 12 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3287, allocations: 47.81 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.3288, allocations: 51.67 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.329, allocations: 139.5 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.329, allocations: 0 / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.432e-06/0.329, allocations: 0 / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3291, allocations: 4 kB / 1.02 GB, free: 8.184 MB / 0.795 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.000928/0.33, allocations: 447.2 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.33, allocations: 8.031 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.3301, allocations: 12.84 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3304, allocations: 196.7 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3304, allocations: 8.375 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.3304, allocations: 15.92 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.3309, allocations: 155.7 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3309, allocations: 3.984 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3309, allocations: 4 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.331, allocations: 4 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.3315, allocations: 163.8 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.3323, allocations: 424.3 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.3331, allocations: 166.5 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.3334, allocations: 88.84 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3335, allocations: 8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3335, allocations: 30.56 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3335, allocations: 0 / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.001028/0.3345, allocations: 285.2 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3346, allocations: 51.41 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3348, allocations: 152.3 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3348, allocations: 29.64 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.3349, allocations: 104 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.335, allocations: 31.55 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.335, allocations: 25.7 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3352, allocations: 326.8 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.3355, allocations: 75.92 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.3358, allocations: 75.92 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.3364, allocations: 157.2 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3364, allocations: 0 / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006389/0.3371, allocations: 209.3 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3371, allocations: 7.938 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3371, allocations: 0 / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3371, allocations: 4 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.3374, allocations: 35.95 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3374, allocations: 3.984 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.3376, allocations: 31.81 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3376, allocations: 0 / 1.024 GB, free: 4.684 MB / 0.795 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.0001373/0.3378, allocations: 133.8 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.3378, allocations: 11.84 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.3379, allocations: 16.72 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3379, allocations: 0 / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3379, allocations: 3.938 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3379, allocations: 3.984 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.3382, allocations: 225.6 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3382, allocations: 0 / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.3384, allocations: 39.95 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3385, allocations: 3.938 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.3385, allocations: 11.98 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3385, allocations: 0 / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3385, allocations: 0 / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.3392, allocations: 307.1 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.3393, allocations: 88.95 kB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.3393, allocations: 4 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.3395, allocations: 15.97 kB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.3397, allocations: 35.97 kB / 1.024 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3397, allocations: 7.984 kB / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.3398, allocations: 110.1 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3398, allocations: 0 / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002535/0.3401, allocations: 28.12 kB / 1.025 GB, free: 3.562 MB / 0.795 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.0001575/0.3402, allocations: 107.2 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000658/0.3409, allocations: 175.7 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3409, allocations: 0 / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.3412, allocations: 91.91 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.3415, allocations: 19.94 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.3422, allocations: 271.8 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.3425, allocations: 0.7085 MB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.3426, allocations: 23.42 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3426, allocations: 0 / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of Templates: time 0.003864/0.3465, allocations: 1.812 MB / 1.028 GB, free: 328 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches