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.001889/0.001889, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002119/0.002119, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.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.861/2.861, allocations: 476.7 MB / 0.7714 GB, free: 4.352 MB / 0.6231 GB " [Timeout remaining time 176] 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.002274/0.002274, allocations: 64.98 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3209, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002967/0.3239, allocations: 1.641 MB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3251, allocations: 0.594 MB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.3251, allocations: 7.938 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.867e-05/0.3252, allocations: 15.86 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.136e-05/0.3253, allocations: 15.86 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.3256, allocations: 63.84 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3258, allocations: 95.58 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3259, allocations: 31.92 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.3261, allocations: 39.84 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.3262, allocations: 43.84 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3262, allocations: 4 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.3262, allocations: 19.98 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.3263, allocations: 31.86 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.3263, allocations: 43.72 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.3265, allocations: 91.58 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3265, allocations: 0 / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3265, allocations: 0 / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3265, allocations: 0 / 1.287 GB, free: 8.461 MB / 0.9825 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.0005607/0.3271, allocations: 337.7 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3271, allocations: 8.031 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.3274, allocations: 44.81 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.3277, allocations: 146.9 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3277, allocations: 8.312 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.3277, allocations: 12.12 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.328, allocations: 101.6 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.328, allocations: 0 / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.328, allocations: 8 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.328, allocations: 4 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.3282, allocations: 95.92 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.3288, allocations: 343.7 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.329, allocations: 62.48 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.3291, allocations: 48.95 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.3292, allocations: 7.984 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3292, allocations: 38.5 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3292, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004755/0.3297, allocations: 173.5 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3297, allocations: 51.41 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.3298, allocations: 137 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3299, allocations: 29.7 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.3299, allocations: 112.1 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.33, allocations: 11.91 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.33, allocations: 25.7 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3301, allocations: 318.8 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3303, allocations: 43.97 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3304, allocations: 39.97 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.3306, allocations: 92.73 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3306, allocations: 0 / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002733/0.3308, allocations: 129.5 kB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3309, allocations: 11.88 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3309, allocations: 0 / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3309, allocations: 0 / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.331, allocations: 23.97 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.331, allocations: 0 / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.3311, allocations: 7.938 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.3311, allocations: 7.984 kB / 1.29 GB, free: 5.848 MB / 0.9825 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 0.0001017/0.3312, allocations: 125.8 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.3312, allocations: 11.89 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.3316, allocations: 138.8 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3316, allocations: 3.984 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3316, allocations: 0 / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3316, allocations: 64 / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.3318, allocations: 180.7 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3318, allocations: 0 / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3319, allocations: 23.97 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3319, allocations: 3.938 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3319, allocations: 0 / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3319, allocations: 7.938 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3319, allocations: 0 / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.3323, allocations: 227.4 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.3323, allocations: 15.89 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3323, allocations: 0 / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3324, allocations: 7.984 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.3325, allocations: 11.94 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3325, allocations: 7.984 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.251e-05/0.3325, allocations: 103.3 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3325, allocations: 0 / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002364/0.3328, allocations: 15.94 kB / 1.29 GB, free: 4.902 MB / 0.9825 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.0001505/0.3329, allocations: 107.2 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.3332, allocations: 95.94 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3332, allocations: 0 / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3333, allocations: 47.97 kB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.3336, allocations: 7.938 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.334, allocations: 261.2 kB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3344, allocations: 0.704 MB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.3344, allocations: 19.42 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3344, allocations: 0 / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.002937/0.3374, allocations: 1.184 MB / 1.293 GB, free: 2.426 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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: 11.531046081974637]