Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002514/0.002515, allocations: 189.5 kB / 16.25 MB, free: 6.152 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.604/1.604, allocations: 222.9 MB / 239.9 MB, free: 4.41 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.853/2.853, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8423, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002271/0.8446, allocations: 0.9162 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.8457, allocations: 0.8935 MB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.8458, allocations: 4 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.846, allocations: 7.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.8461, allocations: 19.86 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.8464, allocations: 51.94 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.8466, allocations: 123.7 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.8468, allocations: 49.08 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.847, allocations: 55.83 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.8472, allocations: 71.72 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.8472, allocations: 12 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.997e-05/0.8472, allocations: 16 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.8473, allocations: 39.83 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.8475, allocations: 63.66 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.8477, allocations: 139.5 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.8477, allocations: 4 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8477, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.8477, allocations: 0 / 1.019 GB, free: 292 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001187/0.8489, allocations: 448.9 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.849, allocations: 12.02 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.33e-05/0.8491, allocations: 12.84 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.8494, allocations: 208.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.8494, allocations: 4.375 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.8495, allocations: 15.94 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.8499, allocations: 146.3 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.8499, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.85, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.85, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/0.8506, allocations: 155.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.8513, allocations: 424.4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/0.8522, allocations: 174.5 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.8525, allocations: 96.78 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.8526, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.8526, allocations: 30.56 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.8526, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.00102/0.8536, allocations: 285.2 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.8537, allocations: 51.41 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.8538, allocations: 149 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.8539, allocations: 25.7 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.854, allocations: 119.9 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.854, allocations: 35.53 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/0.8541, allocations: 25.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.8543, allocations: 326.8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.8546, allocations: 67.92 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.8548, allocations: 79.92 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.8554, allocations: 156.7 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8554, allocations: 0.5625 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006079/0.856, allocations: 205.3 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.856, allocations: 7.938 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8561, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8561, allocations: 3.984 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.8563, allocations: 39.95 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.8563, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.8565, allocations: 23.97 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.8565, allocations: 4 kB / 1.022 GB, free: 12.79 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001265/0.8567, allocations: 117.8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.8567, allocations: 23.73 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.8568, allocations: 12.72 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8568, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.8568, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.8568, allocations: 7.938 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.8571, allocations: 233.5 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8571, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.8574, allocations: 39.95 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.8574, allocations: 3.938 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.8574, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8574, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8574, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.8581, allocations: 303.2 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.8581, allocations: 92.86 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.8582, allocations: 3.984 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.8584, allocations: 27.92 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.8585, allocations: 31.95 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.8585, allocations: 4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.646e-05/0.8586, allocations: 113.5 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8586, allocations: 0 / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002482/0.8589, allocations: 20 kB / 1.023 GB, free: 11.67 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001562/0.859, allocations: 103.7 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006263/0.8597, allocations: 183.9 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8597, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.86, allocations: 99.91 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.8603, allocations: 15.94 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.8609, allocations: 274.2 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.8613, allocations: 0.7078 MB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.8615, allocations: 20.42 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.8616, allocations: 27.42 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.8616, allocations: 4 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of Templates: time 0.005669/0.8672, allocations: 2.145 MB / 1.027 GB, free: 8.055 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches