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.001833/0.001833, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002226/0.002226, allocations: 196.2 kB / 16.14 MB, free: 6.738 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.578/1.578, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.888/2.888, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8849/0.8868, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002594/0.8894, allocations: 0.93 MB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.891, allocations: 0.878 MB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.891, allocations: 3.938 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.8912, allocations: 15.92 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.8914, allocations: 23.78 kB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.8915, allocations: 31.97 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.8917, allocations: 131.6 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.8919, allocations: 57.33 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.842e-05/0.892, allocations: 55.77 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.8922, allocations: 79.67 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.8922, allocations: 8 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.66e-05/0.8923, allocations: 8 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.8923, allocations: 43.83 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.991e-05/0.8924, allocations: 59.59 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.8926, allocations: 165.4 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8927, allocations: 0 / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8927, allocations: 0 / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.8927, allocations: 0 / 1.019 GB, free: 312 kB / 0.7637 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.001126/0.8938, allocations: 0.4987 MB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.8939, allocations: 12.03 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.8939, allocations: 16.75 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.8943, allocations: 223.9 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.8943, allocations: 8.312 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.8944, allocations: 12.38 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.895, allocations: 178.1 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.895, allocations: 4.188 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.895, allocations: 11.92 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.895, allocations: 3.938 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.8958, allocations: 219.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.8969, allocations: 0.5158 MB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.8974, allocations: 154.5 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.8978, allocations: 120.9 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.8978, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.8979, allocations: 38.56 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.8979, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001286/0.8992, allocations: 357.2 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.8993, allocations: 51.41 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.8995, allocations: 187.4 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.8995, allocations: 29.7 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.8996, allocations: 127.9 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.8997, allocations: 27.55 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.8997, allocations: 21.72 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.8999, allocations: 326.8 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.9003, allocations: 103.9 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.9007, allocations: 103.9 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.9013, allocations: 221.1 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9014, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000767/0.9021, allocations: 253.3 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.9022, allocations: 9.25 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.9022, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.9022, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.9025, allocations: 47.94 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9025, allocations: 3.938 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.9027, allocations: 39.86 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.9027, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 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.9029, allocations: 129.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.9029, allocations: 7.906 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.903, allocations: 25.39 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.903, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.903, allocations: 3.938 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.9031, allocations: 7.938 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.9035, allocations: 253.4 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.9035, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.9038, allocations: 47.94 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.9038, allocations: 0 / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.9038, allocations: 0 / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.9038, allocations: 0 / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.9038, allocations: 7.938 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.9047, allocations: 355.1 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.9048, allocations: 88.95 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.9048, allocations: 7.984 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.905, allocations: 36.14 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.9051, allocations: 15.92 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.9051, allocations: 3.938 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001237/0.9052, allocations: 136.4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9053, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002499/0.9055, allocations: 31.91 kB / 1.024 GB, free: 10.98 MB / 0.7794 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.0001834/0.9057, allocations: 99.78 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007913/0.9065, allocations: 223.7 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9065, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.9069, allocations: 123.8 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.9073, allocations: 19.98 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007105/0.908, allocations: 355.8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.9084, allocations: 0.7238 MB / 1.025 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.474e-05/0.9085, allocations: 24.41 kB / 1.025 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.9086, allocations: 11.44 kB / 1.025 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.9086, allocations: 0 / 1.025 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of Templates: time 0.004999/0.9136, allocations: 1.558 MB / 1.027 GB, free: 7.816 MB / 0.7794 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/jenkins/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