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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001117/0.001117, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 183.3 kB / 16.92 MB, free: 6.652 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.73/2.73, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003569, allocations: 12.88 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3043, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.00109/0.3055, allocations: 0.5974 MB / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3066, allocations: 0.8819 MB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.3067, allocations: 0 / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3069, allocations: 7.875 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.307, allocations: 27.84 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.3071, allocations: 35.95 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000185/0.3073, allocations: 127.6 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.3075, allocations: 61.25 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.3076, allocations: 51.72 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3077, allocations: 67.73 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.3078, allocations: 4 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.864e-05/0.3078, allocations: 8 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.3079, allocations: 35.84 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.505e-05/0.308, allocations: 81.3 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.3081, allocations: 120 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3081, allocations: 0 / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3081, allocations: 0 / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3081, allocations: 0 / 1.061 GB, free: 2.801 MB / 0.8106 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.0009177/0.309, allocations: 0.508 MB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3091, allocations: 11.97 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.3091, allocations: 24.66 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3094, allocations: 219.9 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3094, allocations: 4.375 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3094, allocations: 8.375 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.31, allocations: 214.1 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.31, allocations: 8.172 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.3101, allocations: 7.938 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3101, allocations: 4 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/0.3109, allocations: 275.7 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.312, allocations: 0.5354 MB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.3125, allocations: 178.5 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004416/0.3129, allocations: 148.7 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.313, allocations: 0 / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.313, allocations: 34.56 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.313, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.00138/0.3144, allocations: 445.3 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3144, allocations: 51.41 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3146, allocations: 188.5 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3146, allocations: 29.7 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.3147, allocations: 124 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.3148, allocations: 35.48 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.3148, allocations: 9.719 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3149, allocations: 326.8 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.3154, allocations: 127.9 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/0.3158, allocations: 139.9 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008004/0.3166, allocations: 264.6 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3166, allocations: 0 / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009017/0.3175, allocations: 313.8 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3175, allocations: 8.094 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3176, allocations: 3.938 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3176, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.3179, allocations: 67.88 kB / 1.066 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3179, allocations: 7.875 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.3181, allocations: 43.95 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3181, allocations: 4 kB / 1.066 GB, free: 14.27 MB / 0.8262 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.0001254/0.3183, allocations: 129.8 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.3183, allocations: 11.81 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.3184, allocations: 21.41 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.3184, allocations: 7.984 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3184, allocations: 3.938 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3184, allocations: 0 / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.3187, allocations: 245.5 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3187, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.319, allocations: 59.94 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.319, allocations: 0 / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3191, allocations: 4 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3191, allocations: 4 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3191, allocations: 3.938 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/0.32, allocations: 407.1 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3201, allocations: 88.92 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3201, allocations: 4 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.3204, allocations: 51.94 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.3205, allocations: 19.86 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3205, allocations: 4 kB / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001045/0.3206, allocations: 135.2 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3206, allocations: 4 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002568/0.3209, allocations: 28 kB / 1.067 GB, free: 12.97 MB / 0.8262 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.0001409/0.321, allocations: 99.19 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008901/0.3219, allocations: 283.7 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3219, allocations: 4 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.3224, allocations: 147.9 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3227, allocations: 21.36 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.3234, allocations: 384.2 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3237, allocations: 0.7278 MB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.3238, allocations: 11.44 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of SimCode: time 4.2e-07/0.3238, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of Templates: time 0.00403/0.3278, allocations: 2.005 MB / 1.07 GB, free: 9.254 MB / 0.8262 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=480 -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/jenkins1/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