Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 100.4 kB / 16.27 MB, free: 5.965 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.002033/0.002033, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.612/1.612, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.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.287/2.287, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 67.2 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2657, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002525/0.2682, allocations: 0.8866 MB / 0.9512 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2695, allocations: 0.8761 MB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.046e-05/0.2696, allocations: 0 / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.2697, allocations: 19.8 kB / 0.952 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.2699, allocations: 27.72 kB / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.2701, allocations: 43.94 kB / 0.9521 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.2703, allocations: 131.6 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2705, allocations: 61.09 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.2706, allocations: 55.78 kB / 0.9523 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.2708, allocations: 91.66 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.2709, allocations: 12 kB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.2709, allocations: 12 kB / 0.9524 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.271, allocations: 47.88 kB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.974e-05/0.2711, allocations: 63.55 kB / 0.9525 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2713, allocations: 167.7 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2713, allocations: 4 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2713, allocations: 0 / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.2713, allocations: 3.938 kB / 0.9527 GB, free: 6.344 MB / 0.7325 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.001036/0.2723, allocations: 0.5025 MB / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2724, allocations: 12.03 kB / 0.9532 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.2724, allocations: 16.75 kB / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.2727, allocations: 219.9 kB / 0.9534 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2727, allocations: 4.375 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.2727, allocations: 12.38 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.2733, allocations: 183.9 kB / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.2733, allocations: 192 / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.2733, allocations: 11.94 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2733, allocations: 0 / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007864/0.2741, allocations: 223.7 kB / 0.9539 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.2752, allocations: 0.5004 MB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.2757, allocations: 150.5 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/0.2761, allocations: 116.7 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.2762, allocations: 0 / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2762, allocations: 38.56 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.2762, allocations: 3.938 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.00127/0.2775, allocations: 361.3 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.2775, allocations: 55.41 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.2777, allocations: 183.6 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.2777, allocations: 29.64 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.2778, allocations: 132.2 kB / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.2779, allocations: 27.64 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.2779, allocations: 21.7 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2781, allocations: 326.8 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.2784, allocations: 107.8 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.2788, allocations: 107.9 kB / 0.9559 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.2796, allocations: 212.6 kB / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2796, allocations: 0 / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008145/0.2804, allocations: 257.2 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2804, allocations: 8 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2804, allocations: 0 / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2805, allocations: 0 / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.2807, allocations: 47.89 kB / 0.9564 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.2808, allocations: 3.938 kB / 0.9564 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.281, allocations: 43.84 kB / 0.9565 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-06/0.281, allocations: 0 / 0.9565 GB, free: 2.254 MB / 0.7325 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.0001041/0.2811, allocations: 129.8 kB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.2811, allocations: 7.906 kB / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.2812, allocations: 21.41 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2812, allocations: 4 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2812, allocations: 3.938 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2812, allocations: 4 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.2815, allocations: 253.4 kB / 0.9569 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2815, allocations: 3.984 kB / 0.9569 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.2818, allocations: 39.95 kB / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2818, allocations: 4.266 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2818, allocations: 4 kB / 0.9569 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.2818, allocations: 4 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.2818, allocations: 7.875 kB / 0.9569 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008502/0.2827, allocations: 351.2 kB / 0.9573 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.2827, allocations: 92.86 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.2828, allocations: 4 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.283, allocations: 31.95 kB / 0.9574 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.2831, allocations: 19.86 kB / 0.9574 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2831, allocations: 7.984 kB / 0.9574 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001032/0.2832, allocations: 136.2 kB / 0.9576 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2832, allocations: 0 / 0.9576 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002472/0.2835, allocations: 31.91 kB / 0.9576 GB, free: 1.027 MB / 0.7325 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.0001397/0.2836, allocations: 107.2 kB / 0.9577 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008497/0.2845, allocations: 231.7 kB / 0.9579 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2845, allocations: 0 / 0.9579 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.2849, allocations: 111.8 kB / 0.958 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.2852, allocations: 31.98 kB / 0.9581 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.2859, allocations: 333.7 kB / 0.9584 GB, free: 196 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.2862, allocations: 0.7275 MB / 0.9591 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.2863, allocations: 19.38 kB / 0.9591 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.2863, allocations: 0 / 0.9591 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of Templates: time 0.003723/0.2901, allocations: 2.033 MB / 0.9611 GB, free: 13.4 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches