Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001939/0.001939, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.542/2.542, allocations: 437.1 MB / 0.7111 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.42 kB / 0.8699 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.29, allocations: 151.6 MB / 1.018 GB, free: 10.56 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002336/0.2924, allocations: 0.883 MB / 1.019 GB, free: 9.676 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2936, allocations: 0.8741 MB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.2936, allocations: 0 / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.2938, allocations: 19.8 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.2939, allocations: 31.73 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.294, allocations: 35.94 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.2942, allocations: 143.6 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.2944, allocations: 53.34 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.2945, allocations: 55.78 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.2947, allocations: 83.72 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.2947, allocations: 12 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.552e-05/0.2948, allocations: 12 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.2948, allocations: 47.83 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.644e-05/0.2949, allocations: 67.59 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.2951, allocations: 171.6 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2951, allocations: 0 / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2951, allocations: 0 / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2952, allocations: 0 / 1.02 GB, free: 8.062 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001/0.2962, allocations: 0.4986 MB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2962, allocations: 12.92 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.2963, allocations: 16.75 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.2965, allocations: 220.5 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.2965, allocations: 12.36 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.2966, allocations: 8.375 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.2971, allocations: 174.1 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2971, allocations: 192 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.2972, allocations: 15.94 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2972, allocations: 3.938 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008105/0.298, allocations: 219.7 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2991, allocations: 0.5158 MB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.2996, allocations: 150.5 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.3, allocations: 120.7 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3001, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3001, allocations: 30.56 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3001, allocations: 0 / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.001303/0.3014, allocations: 365.4 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.3015, allocations: 55.41 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.3017, allocations: 183.4 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3017, allocations: 29.7 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3018, allocations: 127.9 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.3019, allocations: 31.5 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.3019, allocations: 21.7 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3021, allocations: 326.8 kB / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.3025, allocations: 99.89 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.3029, allocations: 107.9 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.3037, allocations: 213.2 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3037, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008452/0.3045, allocations: 261.2 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3046, allocations: 8 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3046, allocations: 0 / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3046, allocations: 0 / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.3049, allocations: 39.95 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3049, allocations: 11.86 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3051, allocations: 39.86 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3052, allocations: 4 kB / 1.024 GB, free: 3.973 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000148/0.3053, allocations: 129.8 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.3053, allocations: 7.906 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.3054, allocations: 17.41 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3054, allocations: 4 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3054, allocations: 3.938 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3054, allocations: 7.984 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.3058, allocations: 261.3 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3058, allocations: 0 / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.306, allocations: 47.94 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.306, allocations: 0 / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3061, allocations: 0 / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3061, allocations: 4 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3061, allocations: 3.938 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/0.307, allocations: 355.1 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.307, allocations: 85.02 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.3071, allocations: 4 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.3073, allocations: 31.95 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.3074, allocations: 31.83 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3074, allocations: 4 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001137/0.3075, allocations: 124.4 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3075, allocations: 0 / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002567/0.3078, allocations: 31.91 kB / 1.025 GB, free: 2.754 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001815/0.308, allocations: 107.4 kB / 1.025 GB, free: 2.637 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008731/0.3089, allocations: 235.6 kB / 1.026 GB, free: 2.406 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3089, allocations: 4 kB / 1.026 GB, free: 2.402 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.3093, allocations: 115.8 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3096, allocations: 19.98 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.3104, allocations: 342.6 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.3108, allocations: 0.7236 MB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.3109, allocations: 15.44 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.3109, allocations: 0 / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of Templates: time 0.004125/0.315, allocations: 2.034 MB / 1.029 GB, free: 15.13 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches