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.001917/0.001917, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00233/0.00233, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.51/1.51, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.758/2.758, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 75.83 kB / 0.8688 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/0.7468, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.003754/0.7506, allocations: 0.9417 MB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.7523, allocations: 0.8741 MB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.7524, allocations: 7.938 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.7526, allocations: 11.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.7528, allocations: 19.8 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.7529, allocations: 35.97 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.7532, allocations: 143.6 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.7534, allocations: 49.34 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.7535, allocations: 59.77 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.7537, allocations: 91.66 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.7537, allocations: 12 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-05/0.7538, allocations: 12 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.7538, allocations: 43.84 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.7539, allocations: 63.59 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.7542, allocations: 177.4 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7542, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7542, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.7542, allocations: 0 / 1.019 GB, free: 168 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.001021/0.7552, allocations: 0.5025 MB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7553, allocations: 8.031 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.7553, allocations: 16.75 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.7556, allocations: 215.9 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.7556, allocations: 4.375 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.7556, allocations: 12.38 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.7562, allocations: 183.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.7562, allocations: 192 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.7562, allocations: 7.938 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.7562, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.757, allocations: 223.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.758, allocations: 0.5158 MB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.7585, allocations: 154.4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.7589, allocations: 120.9 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.7589, allocations: 7.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.759, allocations: 34.56 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.759, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001224/0.7602, allocations: 365.1 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.7602, allocations: 51.41 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.7604, allocations: 187.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.7605, allocations: 25.7 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.7606, allocations: 124 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.7606, allocations: 31.55 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.7607, allocations: 17.72 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.7609, allocations: 326.8 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.7612, allocations: 107.9 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.7616, allocations: 99.89 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/0.7623, allocations: 216.6 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.7623, allocations: 3.984 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008678/0.7632, allocations: 257.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.7633, allocations: 4.094 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7633, allocations: 3.938 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.7633, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.7636, allocations: 47.94 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.7636, allocations: 7.938 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.7638, allocations: 35.86 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.7639, allocations: 0 / 1.023 GB, free: 12.07 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.0001347/0.764, allocations: 129.8 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.764, allocations: 11.91 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.7641, allocations: 25.39 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.7641, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.7641, allocations: 7.938 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7641, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.7645, allocations: 249.5 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.7645, allocations: 7.922 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.7647, allocations: 43.89 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.7647, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.7647, allocations: 8 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7648, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7648, allocations: 7.938 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/0.7656, allocations: 347.2 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.7657, allocations: 96.84 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.7657, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.766, allocations: 31.95 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.7661, allocations: 15.92 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.7661, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001224/0.7662, allocations: 132.4 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7662, allocations: 4 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002505/0.7665, allocations: 27.91 kB / 1.024 GB, free: 10.86 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.0001936/0.7667, allocations: 103.8 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000828/0.7675, allocations: 235.7 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.7675, allocations: 0 / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.7679, allocations: 119.8 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.7683, allocations: 27.98 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.769, allocations: 347.3 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.7694, allocations: 0.7275 MB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.623e-05/0.7696, allocations: 20.41 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.7696, allocations: 19.38 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.7696, allocations: 0 / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of Templates: time 0.004971/0.7746, allocations: 1.633 MB / 1.027 GB, free: 7.605 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