Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.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.001864/0.001864, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.002193/0.002193, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.652/2.652, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions") [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.003008/0.003008, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.3003, allocations: 169.9 MB / 1.117 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002637/0.3029, allocations: 1.599 MB / 1.119 GB, free: 0.957 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.3039, allocations: 0.5729 MB / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.3039, allocations: 4 kB / 1.12 GB, free: 384 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.125e-05/0.304, allocations: 15.8 kB / 1.12 GB, free: 368 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.528e-05/0.304, allocations: 15.8 kB / 1.12 GB, free: 352 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3043, allocations: 63.86 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.3044, allocations: 87.64 kB / 1.12 GB, free: 200 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3046, allocations: 27.98 kB / 1.12 GB, free: 172 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3047, allocations: 51.83 kB / 1.12 GB, free: 120 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.3048, allocations: 39.78 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3048, allocations: 4 kB / 1.12 GB, free: 76 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.384e-05/0.3049, allocations: 19.98 kB / 1.12 GB, free: 56 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.3049, allocations: 27.91 kB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.3049, allocations: 27.8 kB / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3051, allocations: 99.62 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3051, allocations: 7.875 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3051, allocations: 0 / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.3051, allocations: 0 / 1.12 GB, free: 15.89 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005044/0.3056, allocations: 333.9 kB / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.3056, allocations: 12.03 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002847/0.3059, allocations: 36.81 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.3061, allocations: 149.2 kB / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3062, allocations: 8.375 kB / 1.121 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.3062, allocations: 8.125 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.3064, allocations: 113.6 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3064, allocations: 0 / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3064, allocations: 0 / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3064, allocations: 4 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.3067, allocations: 91.94 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.3072, allocations: 316.2 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.3074, allocations: 58.55 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3075, allocations: 44.95 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.3075, allocations: 4 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3075, allocations: 30.56 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3075, allocations: 0 / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0004536/0.308, allocations: 169.5 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.308, allocations: 63.34 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3082, allocations: 140 kB / 1.122 GB, free: 14.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3082, allocations: 25.7 kB / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.3082, allocations: 116.1 kB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.3083, allocations: 15.84 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.3083, allocations: 25.7 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3085, allocations: 318.8 kB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3086, allocations: 39.97 kB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3087, allocations: 39.97 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3089, allocations: 92.8 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3089, allocations: 0 / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002806/0.3092, allocations: 125.9 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3092, allocations: 4 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3092, allocations: 3.938 kB / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.3092, allocations: 0 / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.3093, allocations: 36.03 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3094, allocations: 3.984 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.3094, allocations: 7.938 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.3094, allocations: 7.984 kB / 1.122 GB, free: 13.33 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 (6): * Single equations (assignments): 6 * 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.72e-05/0.3095, allocations: 113.8 kB / 1.122 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.3096, allocations: 7.953 kB / 1.122 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.3099, allocations: 154.2 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3099, allocations: 4 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3099, allocations: 3.984 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3099, allocations: 0 / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3101, allocations: 141.2 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3101, allocations: 0 / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3102, allocations: 15.98 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3102, allocations: 3.984 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3102, allocations: 8 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3102, allocations: 3.938 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3102, allocations: 0 / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.3105, allocations: 227.4 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.3106, allocations: 3.953 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3106, allocations: 8 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3107, allocations: 11.92 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.3107, allocations: 4 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3107, allocations: 7.922 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.332e-05/0.3108, allocations: 103.3 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3108, allocations: 0 / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002344/0.311, allocations: 23.94 kB / 1.123 GB, free: 12.44 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 (6): * Single equations (assignments): 6 * 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.0001177/0.3112, allocations: 103.2 kB / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.3114, allocations: 100 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3114, allocations: 0 / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3116, allocations: 43.97 kB / 1.123 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.3118, allocations: 8 kB / 1.123 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.3122, allocations: 239.5 kB / 1.124 GB, free: 11.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.164e-05/0.3123, allocations: 96.27 kB / 1.124 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.768e-05/0.3123, allocations: 11.97 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.3124, allocations: 16.48 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/0.3124, allocations: 0 / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of Templates: time 0.003047/0.3154, allocations: 0.6895 MB / 1.124 GB, free: 11.09 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.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: 8.320559108047746]