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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001165/0.001165, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001145/0.001145, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 64.44 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2756, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002546/0.2782, allocations: 0.8772 MB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2795, allocations: 0.878 MB / 1.021 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.2795, allocations: 0 / 1.021 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.2797, allocations: 23.8 kB / 1.021 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.2798, allocations: 23.73 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.28, allocations: 43.94 kB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.2802, allocations: 143.5 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.2804, allocations: 57.31 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.2805, allocations: 55.83 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2807, allocations: 83.72 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2807, allocations: 12 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.027e-05/0.2807, allocations: 12 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.2808, allocations: 47.84 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.945e-05/0.2809, allocations: 63.59 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.2811, allocations: 183.2 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2812, allocations: 0 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.387e-06/0.2812, allocations: 0 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.2812, allocations: 0 / 1.021 GB, free: 7.355 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.001018/0.2822, allocations: 0.5025 MB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.2823, allocations: 12.91 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.2823, allocations: 16.75 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.2826, allocations: 220.5 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2826, allocations: 4.375 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.2826, allocations: 8.375 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.2832, allocations: 179.8 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2832, allocations: 192 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.2832, allocations: 7.938 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2833, allocations: 4 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.284, allocations: 223.7 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.2852, allocations: 0.5081 MB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.2856, allocations: 162.3 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.286, allocations: 112.8 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.286, allocations: 0 / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.286, allocations: 38.56 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.286, allocations: 4 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.001111/0.2872, allocations: 361.4 kB / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.2872, allocations: 51.41 kB / 1.024 GB, free: 4.785 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.2874, allocations: 187.8 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2874, allocations: 25.7 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.2875, allocations: 123.9 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.2875, allocations: 31.55 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.2876, allocations: 25.66 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2877, allocations: 326.8 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.2881, allocations: 103.9 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.2884, allocations: 107.8 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.289, allocations: 216.6 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.289, allocations: 0 / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007209/0.2897, allocations: 253.3 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2898, allocations: 4 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2898, allocations: 3.984 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2898, allocations: 0 / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.2901, allocations: 43.95 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2901, allocations: 3.938 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2903, allocations: 39.86 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2903, allocations: 0 / 1.025 GB, free: 3.277 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.0001092/0.2904, allocations: 134.4 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.2905, allocations: 7.906 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.2905, allocations: 29.39 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2905, allocations: 0 / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2905, allocations: 3.938 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2906, allocations: 0 / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.2908, allocations: 257.4 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2908, allocations: 4.281 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.2911, allocations: 39.95 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2911, allocations: 0 / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2911, allocations: 15.88 kB / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2911, allocations: 4 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2911, allocations: 3.938 kB / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.2919, allocations: 355.1 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.2919, allocations: 85.02 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.2919, allocations: 12 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.2922, allocations: 27.95 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.2922, allocations: 15.92 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2922, allocations: 4 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.449e-05/0.2923, allocations: 132.4 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2924, allocations: 0 / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002607/0.2926, allocations: 27.91 kB / 1.026 GB, free: 2.055 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.0001719/0.2928, allocations: 111.1 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007304/0.2935, allocations: 219.8 kB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2935, allocations: 4 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.2939, allocations: 119.8 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.2942, allocations: 24.45 kB / 1.027 GB, free: 1.574 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.2948, allocations: 304.9 kB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.2951, allocations: 0.7274 MB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.973e-05/0.2952, allocations: 28.41 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.2952, allocations: 11.44 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2952, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of Templates: time 0.004531/0.2998, allocations: 1.903 MB / 1.029 GB, free: 14.58 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=480 -s gbode -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