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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.004975/0.004975, allocations: 100.3 kB / 15.73 MB, free: 6.492 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.001113/0.001113, allocations: 193.1 kB / 16.68 MB, free: 6.371 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.809/2.809, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3439, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002163/0.3461, allocations: 0.8472 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.3474, allocations: 0.9013 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3475, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.3477, allocations: 15.8 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.3478, allocations: 11.88 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.348, allocations: 63.84 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.3483, allocations: 127.7 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3484, allocations: 41.08 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3485, allocations: 59.77 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.3487, allocations: 75.73 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.3488, allocations: 12 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.367e-05/0.3488, allocations: 12 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.3489, allocations: 39.83 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.3489, allocations: 51.72 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3492, allocations: 147.3 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3492, allocations: 0 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3492, allocations: 0 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.3492, allocations: 0 / 1.223 GB, free: 11.41 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.0008865/0.3501, allocations: 450.9 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3501, allocations: 8.031 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.3502, allocations: 16.84 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3504, allocations: 206.2 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3504, allocations: 16.06 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.3504, allocations: 4 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.3508, allocations: 159.4 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3508, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3509, allocations: 3.938 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3509, allocations: 4 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.3514, allocations: 163.8 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.352, allocations: 412.5 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008139/0.3528, allocations: 166.5 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.3531, allocations: 84.84 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3531, allocations: 3.984 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.3532, allocations: 30.56 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3532, allocations: 0 / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0008947/0.354, allocations: 293.4 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.3541, allocations: 51.41 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3542, allocations: 144.5 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3542, allocations: 33.69 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.3543, allocations: 108 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.3543, allocations: 31.73 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.3544, allocations: 25.7 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3545, allocations: 326.8 kB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3547, allocations: 67.92 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.355, allocations: 79.92 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.3554, allocations: 157.2 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3554, allocations: 3.938 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005474/0.356, allocations: 209.4 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.356, allocations: 4 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.356, allocations: 4 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.356, allocations: 0 / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.3563, allocations: 43.95 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3563, allocations: 3.938 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.3564, allocations: 23.92 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3565, allocations: 4 kB / 1.226 GB, free: 7.91 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.0001107/0.3566, allocations: 126.4 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.3566, allocations: 11.89 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.3566, allocations: 12.72 kB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3566, allocations: 11.94 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3566, allocations: 0 / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3567, allocations: 3.984 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.3569, allocations: 237.5 kB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3569, allocations: 0 / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.3571, allocations: 43.89 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3571, allocations: 3.984 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3571, allocations: 3.984 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3571, allocations: 0 / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3571, allocations: 0 / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.3577, allocations: 303.3 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.3578, allocations: 89 kB / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.3578, allocations: 0 / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.358, allocations: 23.97 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.3581, allocations: 31.97 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3581, allocations: 7.984 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.36e-05/0.3582, allocations: 109.3 kB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3582, allocations: 0 / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000246/0.3584, allocations: 31.89 kB / 1.227 GB, free: 6.781 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.000139/0.3586, allocations: 107.2 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000565/0.3591, allocations: 163.8 kB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3591, allocations: 0 / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.3594, allocations: 99.84 kB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.3597, allocations: 17.34 kB / 1.228 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.3603, allocations: 261.6 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.3606, allocations: 0.7041 MB / 1.228 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.928e-05/0.3607, allocations: 24.42 kB / 1.228 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.3608, allocations: 23.42 kB / 1.229 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.3608, allocations: 0 / 1.229 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of Templates: time 0.00507/0.3658, allocations: 2.411 MB / 1.231 GB, free: 2.941 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches