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.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.001724/0.001724, allocations: 77.33 kB / 19.76 MB, free: 2.031 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.00202/0.00202, allocations: 155.9 kB / 23.01 MB, free: 4.961 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.57/1.57, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.981/2.981, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002184/0.002184, allocations: 71.89 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001921/1.054, allocations: 0.8453 MB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009633/1.055, allocations: 0.9087 MB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/1.055, allocations: 2.75 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/1.055, allocations: 21.12 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/1.055, allocations: 23.22 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/1.055, allocations: 42.45 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/1.055, allocations: 139.1 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/1.055, allocations: 42.77 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.246e-05/1.056, allocations: 55.06 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/1.056, allocations: 80.58 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/1.056, allocations: 16.94 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.497e-05/1.056, allocations: 13.22 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/1.056, allocations: 44.62 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/1.056, allocations: 51.45 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/1.056, allocations: 179.2 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.056, allocations: 1.953 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.402e-06/1.056, allocations: 0 / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.056, allocations: 0 / 1.189 GB, free: 14.68 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.000859/1.057, allocations: 442.2 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/1.057, allocations: 9.125 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/1.057, allocations: 18 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/1.057, allocations: 160.7 kB / 1.19 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.057, allocations: 8.516 kB / 1.19 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/1.057, allocations: 10.06 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/1.058, allocations: 185.7 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.058, allocations: 0.75 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/1.058, allocations: 5.281 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.058, allocations: 1.156 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007658/1.059, allocations: 221.7 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000899/1.06, allocations: 444.6 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/1.06, allocations: 147.6 kB / 1.191 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/1.06, allocations: 108.9 kB / 1.191 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/1.06, allocations: 5.438 kB / 1.191 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/1.06, allocations: 36.78 kB / 1.191 GB, free: 13.65 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/1.06, allocations: 0 / 1.191 GB, free: 13.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.001231/1.062, allocations: 362.9 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/1.062, allocations: 53.94 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/1.062, allocations: 179.8 kB / 1.191 GB, free: 13.37 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/1.062, allocations: 25.7 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/1.062, allocations: 125.3 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/1.062, allocations: 34.39 kB / 1.192 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/1.062, allocations: 25.58 kB / 1.192 GB, free: 13.17 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.279e-05/1.062, allocations: 328.6 kB / 1.192 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/1.062, allocations: 105.1 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/1.063, allocations: 105.2 kB / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/1.063, allocations: 217.7 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.063, allocations: 1.125 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008023/1.064, allocations: 261.3 kB / 1.193 GB, free: 12.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.064, allocations: 5.938 kB / 1.193 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.064, allocations: 0 / 1.193 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.064, allocations: 1.344 kB / 1.193 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/1.065, allocations: 45.88 kB / 1.193 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.065, allocations: 1.703 kB / 1.193 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/1.065, allocations: 34.11 kB / 1.193 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/1.065, allocations: 1.781 kB / 1.193 GB, free: 12.67 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.343e-05/1.065, allocations: 129 kB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/1.065, allocations: 18.38 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/1.065, allocations: 23.33 kB / 1.193 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.065, allocations: 1.828 kB / 1.193 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.065, allocations: 0 / 1.193 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.065, allocations: 5.609 kB / 1.193 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/1.065, allocations: 172.8 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.065, allocations: 1.766 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/1.065, allocations: 49.12 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.065, allocations: 1.641 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.065, allocations: 4 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.065, allocations: 1.344 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.065, allocations: 0.6094 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/1.066, allocations: 367.9 kB / 1.193 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/1.066, allocations: 16.91 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/1.066, allocations: 5.094 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/1.067, allocations: 29.92 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/1.067, allocations: 18.17 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/1.067, allocations: 1.25 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.13e-05/1.067, allocations: 132.8 kB / 1.194 GB, free: 12.05 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.067, allocations: 1.094 kB / 1.194 GB, free: 12.05 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002544/1.067, allocations: 33.92 kB / 1.194 GB, free: 12.04 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 0.0001223/1.067, allocations: 93.97 kB / 1.194 GB, free: 11.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008401/1.068, allocations: 225.1 kB / 1.194 GB, free: 11.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.068, allocations: 1.062 kB / 1.194 GB, free: 11.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004213/1.068, allocations: 112.7 kB / 1.194 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/1.069, allocations: 27.66 kB / 1.194 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/1.069, allocations: 309.2 kB / 1.194 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/1.07, allocations: 111 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.847e-05/1.07, allocations: 25.2 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/1.07, allocations: 13.75 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.07, allocations: 3.938 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of Templates: time 0.005747/1.075, allocations: 2.041 MB / 1.196 GB, free: 11.36 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.665499988012016]