Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009434/0.009434, allocations: 99.59 kB / 15.73 MB, free: 6.039 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.001979/0.001979, allocations: 193.6 kB / 16.67 MB, free: 5.965 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.8 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3304, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00216/0.3326, allocations: 0.8376 MB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3338, allocations: 0.8935 MB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.3338, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.334, allocations: 11.88 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3341, allocations: 15.8 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.3343, allocations: 59.92 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3345, allocations: 131.7 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.3347, allocations: 52.83 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.909e-05/0.3348, allocations: 55.83 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.335, allocations: 79.66 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.335, allocations: 12 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.315e-05/0.335, allocations: 12 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.3351, allocations: 39.83 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.72e-05/0.3352, allocations: 55.72 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.3354, allocations: 143.4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3354, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3354, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.3354, allocations: 4 kB / 1.09 GB, free: 15.09 MB / 0.8575 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.0008724/0.3363, allocations: 450.8 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3363, allocations: 11.97 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.3364, allocations: 12.89 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3366, allocations: 208.6 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3367, allocations: 12.12 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3367, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.3372, allocations: 163.6 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3372, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.3372, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3372, allocations: 7.984 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.3378, allocations: 159.8 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.3385, allocations: 412.5 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000901/0.3394, allocations: 178.5 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.3397, allocations: 86.28 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3397, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.3398, allocations: 34.56 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3398, allocations: 3.938 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001009/0.3408, allocations: 277.5 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3409, allocations: 55.34 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.341, allocations: 154.4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.341, allocations: 29.7 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.3411, allocations: 108 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.3412, allocations: 31.77 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.3413, allocations: 29.7 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3414, allocations: 322.8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.3417, allocations: 71.92 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.342, allocations: 76.3 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005433/0.3425, allocations: 160.8 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3425, allocations: 4 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006341/0.3432, allocations: 205.4 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3432, allocations: 5.562 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3432, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3432, allocations: 3.984 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.3435, allocations: 47.83 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3435, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.3437, allocations: 27.91 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.3437, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 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.0001168/0.3439, allocations: 115.8 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.3439, allocations: 23.83 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.3439, allocations: 12.72 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.344, allocations: 8 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.344, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.344, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.3443, allocations: 233.6 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3443, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.3445, allocations: 43.83 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3445, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3445, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3446, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3446, allocations: 8 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.3453, allocations: 303.3 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.3453, allocations: 92.95 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.3454, allocations: 7.984 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3456, allocations: 23.97 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3457, allocations: 27.97 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.3457, allocations: 4 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.745e-05/0.3458, allocations: 115.2 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3458, allocations: 0 / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000258/0.3461, allocations: 19.94 kB / 1.094 GB, free: 10.47 MB / 0.8575 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.0001698/0.3462, allocations: 107.2 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000659/0.3469, allocations: 167.8 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3469, allocations: 0 / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.3473, allocations: 107.8 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3476, allocations: 19.92 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.3482, allocations: 246 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3485, allocations: 0.7046 MB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.3487, allocations: 24.42 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.3488, allocations: 23.42 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of SimCode: time 2.414e-06/0.3488, allocations: 0 / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of Templates: time 0.005473/0.3542, allocations: 2.42 MB / 1.098 GB, free: 6.621 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches