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.001856/0.001856, allocations: 112 kB / 16.37 MB, free: 5.539 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.002061/0.002061, allocations: 190.8 kB / 17.3 MB, free: 5.18 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.543/1.543, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.587/2.587, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 68.48 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3283, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002547/0.3309, allocations: 0.884 MB / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3321, allocations: 0.8818 MB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/0.3322, allocations: 4 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.3323, allocations: 19.73 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.3324, allocations: 19.8 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.3326, allocations: 43.95 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.3328, allocations: 143.5 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.333, allocations: 57.33 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.3331, allocations: 51.83 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.3332, allocations: 83.67 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.3333, allocations: 12 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.284e-05/0.3333, allocations: 16 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.3334, allocations: 43.89 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.046e-05/0.3335, allocations: 63.59 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.3337, allocations: 179.3 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3337, allocations: 0 / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3337, allocations: 3.938 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.3337, allocations: 4 kB / 1.029 GB, free: 15.52 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.0008406/0.3345, allocations: 0.4948 MB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.3346, allocations: 8.031 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.3346, allocations: 16.75 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.3348, allocations: 219.9 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3348, allocations: 4.375 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3349, allocations: 12.36 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.3354, allocations: 186 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3354, allocations: 192 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3354, allocations: 3.938 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3354, allocations: 4 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007233/0.3362, allocations: 225.2 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3372, allocations: 0.5119 MB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.3377, allocations: 146.5 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.338, allocations: 116.7 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.338, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3381, allocations: 50.69 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.123e-06/0.3381, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001138/0.3392, allocations: 357.1 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3393, allocations: 55.41 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.3395, allocations: 188 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3395, allocations: 25.7 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.3396, allocations: 123.9 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.3396, allocations: 35.55 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.3397, allocations: 21.72 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3398, allocations: 326.8 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.3401, allocations: 95.89 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.3405, allocations: 111.9 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006615/0.3412, allocations: 216.6 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3412, allocations: 0 / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007304/0.3419, allocations: 253.4 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3419, allocations: 4 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3419, allocations: 0.6562 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.342, allocations: 0 / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.3422, allocations: 51.88 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3422, allocations: 3.938 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.3424, allocations: 35.86 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3425, allocations: 4 kB / 1.033 GB, free: 11.45 MB / 0.8106 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.0001063/0.3426, allocations: 129.8 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.3426, allocations: 19.75 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.3427, allocations: 25.39 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3427, allocations: 0 / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3427, allocations: 3.938 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3427, allocations: 4 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.343, allocations: 253.4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.343, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.3432, allocations: 51.88 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3432, allocations: 4 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3433, allocations: 4 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3433, allocations: 0 / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3433, allocations: 3.938 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.344, allocations: 359.1 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.3441, allocations: 85.02 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3441, allocations: 4 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.3444, allocations: 31.94 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.3444, allocations: 15.92 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-06/0.3444, allocations: 4 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.117e-05/0.3445, allocations: 131.2 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3445, allocations: 0 / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002678/0.3448, allocations: 35.91 kB / 1.034 GB, free: 10.21 MB / 0.8106 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.0001331/0.345, allocations: 103.2 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007594/0.3457, allocations: 227.7 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3457, allocations: 0 / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.3461, allocations: 115.8 kB / 1.034 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3464, allocations: 32.39 kB / 1.035 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.3471, allocations: 299.4 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3474, allocations: 0.7275 MB / 1.036 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.227e-05/0.3475, allocations: 24.41 kB / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.3476, allocations: 11.44 kB / 1.036 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3476, allocations: 0 / 1.036 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of Templates: time 0.004792/0.3524, allocations: 1.903 MB / 1.037 GB, free: 6.742 MB / 0.8106 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 -s cvode -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