Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001853/0.001853, 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.002163/0.002163, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.547/1.547, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.112/3.112, allocations: 482.4 MB / 0.7543 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002036, allocations: 74.14 kB / 0.9233 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3406, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002508/0.3431, allocations: 0.9392 MB / 1.083 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3445, allocations: 0.8819 MB / 1.084 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.3447, allocations: 4 kB / 1.084 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.3448, allocations: 11.86 kB / 1.084 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.345, allocations: 15.86 kB / 1.084 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.3452, allocations: 35.97 kB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.3454, allocations: 139.6 kB / 1.084 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.3457, allocations: 61.11 kB / 1.084 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3458, allocations: 63.7 kB / 1.084 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.346, allocations: 79.73 kB / 1.084 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.346, allocations: 12 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.174e-05/0.3461, allocations: 15.94 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/0.3462, allocations: 47.83 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3463, allocations: 67.58 kB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.3466, allocations: 175.6 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3466, allocations: 0 / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3466, allocations: 0 / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3466, allocations: 0 / 1.084 GB, free: 11.05 MB / 0.8419 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.001306/0.3479, allocations: 0.4948 MB / 1.085 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.348, allocations: 12.03 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.3481, allocations: 20.66 kB / 1.085 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.3484, allocations: 216 kB / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3484, allocations: 4.375 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.3484, allocations: 12.38 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.3492, allocations: 179.8 kB / 1.085 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3492, allocations: 192 / 1.085 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.3493, allocations: 7.938 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3493, allocations: 3.938 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.3503, allocations: 219.8 kB / 1.085 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.3518, allocations: 0.5081 MB / 1.086 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/0.3524, allocations: 158.4 kB / 1.086 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.353, allocations: 112.8 kB / 1.086 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.353, allocations: 0 / 1.086 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3531, allocations: 38.56 kB / 1.086 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.3531, allocations: 0 / 1.086 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001698/0.3548, allocations: 361.3 kB / 1.087 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.3548, allocations: 55.41 kB / 1.087 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.3551, allocations: 187.4 kB / 1.087 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.3552, allocations: 25.7 kB / 1.087 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3553, allocations: 124 kB / 1.087 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.3554, allocations: 31.55 kB / 1.087 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/0.3555, allocations: 17.72 kB / 1.087 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3556, allocations: 327.2 kB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.3562, allocations: 107.8 kB / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.3567, allocations: 107.8 kB / 1.087 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009705/0.3577, allocations: 212.6 kB / 1.088 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3577, allocations: 0 / 1.088 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001062/0.3588, allocations: 265.2 kB / 1.088 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3588, allocations: 4 kB / 1.088 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3588, allocations: 0 / 1.088 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3588, allocations: 0 / 1.088 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.3592, allocations: 43.94 kB / 1.088 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3592, allocations: 3.938 kB / 1.088 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.3595, allocations: 35.95 kB / 1.088 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3595, allocations: 0 / 1.088 GB, free: 6.992 MB / 0.8419 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.0002503/0.3598, allocations: 133.8 kB / 1.088 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.3599, allocations: 11.81 kB / 1.088 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.3599, allocations: 29.39 kB / 1.088 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3599, allocations: 0 / 1.088 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.36, allocations: 11.94 kB / 1.088 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.36, allocations: 7.922 kB / 1.088 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.3604, allocations: 249.5 kB / 1.088 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3604, allocations: 0 / 1.088 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.3608, allocations: 47.94 kB / 1.088 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3608, allocations: 0 / 1.088 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3608, allocations: 0 / 1.088 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3608, allocations: 4 kB / 1.088 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3608, allocations: 4.219 kB / 1.088 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.362, allocations: 359 kB / 1.089 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.3621, allocations: 88.92 kB / 1.089 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.3622, allocations: 11.98 kB / 1.089 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.3625, allocations: 27.95 kB / 1.089 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.3626, allocations: 15.92 kB / 1.089 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3626, allocations: 4 kB / 1.089 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001546/0.3628, allocations: 135.1 kB / 1.089 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3628, allocations: 0 / 1.089 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00039/0.3632, allocations: 32 kB / 1.089 GB, free: 5.75 MB / 0.8419 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.0002055/0.3634, allocations: 103.1 kB / 1.089 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.3645, allocations: 235.7 kB / 1.089 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3645, allocations: 0 / 1.089 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005437/0.3651, allocations: 115.9 kB / 1.09 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.3656, allocations: 27.92 kB / 1.09 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.3665, allocations: 344 kB / 1.09 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.3671, allocations: 0.7197 MB / 1.091 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.3672, allocations: 24.41 kB / 1.091 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.575e-05/0.3673, allocations: 19.44 kB / 1.091 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of SimCode: time 1.042e-06/0.3674, allocations: 0 / 1.091 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of Templates: time 0.007244/0.3746, allocations: 1.624 MB / 1.092 GB, free: 2.516 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches