Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 165 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.873/2.873, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 71.89 kB / 0.982 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9509/0.9532, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001768/0.955, allocations: 0.8415 MB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.9559, allocations: 0.9027 MB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.956, allocations: 3.938 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.9561, allocations: 18.39 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.9562, allocations: 29.98 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.9563, allocations: 45.34 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.9565, allocations: 139.6 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.9566, allocations: 32.8 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.9567, allocations: 58.09 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.9568, allocations: 81.7 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.9569, allocations: 16.03 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.9569, allocations: 14.5 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.9569, allocations: 49.05 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.957, allocations: 54.02 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.9572, allocations: 166.9 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.9572, allocations: 0 / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9572, allocations: 0 / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.9572, allocations: 0 / 1.156 GB, free: 31.77 MB / 1.076 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.0008362/0.958, allocations: 444.4 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.958, allocations: 8.844 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.9581, allocations: 17.34 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.9583, allocations: 169.7 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.9583, allocations: 6.188 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.9583, allocations: 10.25 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.9588, allocations: 184 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.9588, allocations: 192 / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.9588, allocations: 3.938 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.9588, allocations: 2.812 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/0.9596, allocations: 222.2 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.9604, allocations: 439 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.9608, allocations: 143.3 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.9612, allocations: 115.2 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.9612, allocations: 0 / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.9612, allocations: 41.23 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.9612, allocations: 0 / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.001169/0.9624, allocations: 366.5 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.9624, allocations: 51.41 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.9625, allocations: 178.4 kB / 1.159 GB, free: 30.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.9626, allocations: 29.7 kB / 1.159 GB, free: 30.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.9626, allocations: 119.6 kB / 1.159 GB, free: 30.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.9626, allocations: 33.88 kB / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.9627, allocations: 30.12 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.9627, allocations: 327.8 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.9631, allocations: 104.2 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.9634, allocations: 109.2 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.9641, allocations: 213.9 kB / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9641, allocations: 0 / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007289/0.9648, allocations: 265.2 kB / 1.16 GB, free: 29.78 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9648, allocations: 5.5 kB / 1.16 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.9649, allocations: 0 / 1.16 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.9649, allocations: 2.875 kB / 1.16 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.9651, allocations: 42.91 kB / 1.16 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.9651, allocations: 6.656 kB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.9653, allocations: 39.48 kB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.9653, allocations: 0 / 1.16 GB, free: 29.77 MB / 1.076 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 8.209e-05/0.9654, allocations: 133.9 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.9655, allocations: 14.16 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.9655, allocations: 20.22 kB / 1.16 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.9655, allocations: 2.969 kB / 1.16 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9655, allocations: 3.422 kB / 1.16 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.9655, allocations: 3.938 kB / 1.16 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.9657, allocations: 176.7 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9657, allocations: 288 / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.9659, allocations: 42.39 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9659, allocations: 0 / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.9659, allocations: 6.812 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9659, allocations: 0 / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9659, allocations: 0 / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/0.9667, allocations: 367 kB / 1.161 GB, free: 29.26 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.9667, allocations: 14.72 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.9667, allocations: 0 / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.9669, allocations: 34.83 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.967, allocations: 17.31 kB / 1.161 GB, free: 29.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.967, allocations: 3.188 kB / 1.161 GB, free: 29.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.008e-05/0.9671, allocations: 136.4 kB / 1.161 GB, free: 29.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9671, allocations: 3.938 kB / 1.161 GB, free: 29.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002458/0.9673, allocations: 33.67 kB / 1.161 GB, free: 29.13 MB / 1.076 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 9.926e-05/0.9674, allocations: 94.44 kB / 1.161 GB, free: 29.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007545/0.9682, allocations: 230.1 kB / 1.161 GB, free: 29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.9682, allocations: 0 / 1.161 GB, free: 29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.9685, allocations: 113.5 kB / 1.161 GB, free: 28.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.9689, allocations: 23.41 kB / 1.161 GB, free: 28.97 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.9694, allocations: 316.5 kB / 1.162 GB, free: 28.76 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.647e-05/0.9694, allocations: 113.7 kB / 1.162 GB, free: 28.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.516e-05/0.9695, allocations: 21.55 kB / 1.162 GB, free: 28.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.9696, allocations: 11.34 kB / 1.162 GB, free: 28.67 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.9696, allocations: 6.594 kB / 1.162 GB, free: 28.67 MB / 1.076 GB Notification: Performance of Templates: time 0.004469/0.974, allocations: 2.032 MB / 1.164 GB, free: 28.45 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.1735093499301]