Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001297/0.001297, 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.001485/0.001485, allocations: 217.6 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.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 3.184/3.184, allocations: 0.49 GB / 0.7958 GB, free: 33.37 MB / 0.6231 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.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_12_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_12_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.002019/0.002019, allocations: 68.52 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3093, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002889/0.3122, allocations: 1.634 MB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3133, allocations: 0.6117 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.3134, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.499e-05/0.3135, allocations: 7.875 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.3135, allocations: 15.81 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3138, allocations: 67.84 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.3139, allocations: 91.64 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3141, allocations: 35.91 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3142, allocations: 39.86 kB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.3143, allocations: 47.81 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.3143, allocations: 8 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.235e-05/0.3144, allocations: 20 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.3144, allocations: 19.86 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.3145, allocations: 39.73 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.3146, allocations: 99.56 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3146, allocations: 0 / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3147, allocations: 0 / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3147, allocations: 4 kB / 1.33 GB, free: 14.7 MB / 1.029 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.0005432/0.3152, allocations: 337.7 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3152, allocations: 12.03 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.3155, allocations: 40.8 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.3158, allocations: 144 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3158, allocations: 4.375 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.3158, allocations: 16.12 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.3161, allocations: 108.4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3161, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3161, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3161, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.3163, allocations: 95.92 kB / 1.331 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.317, allocations: 355.6 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3171, allocations: 58.55 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3172, allocations: 44.95 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.3173, allocations: 4 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.3173, allocations: 38.56 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3173, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000463/0.3178, allocations: 169.4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3178, allocations: 55.41 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3179, allocations: 135.5 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3179, allocations: 25.7 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.318, allocations: 116.1 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.3181, allocations: 19.89 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.3181, allocations: 21.66 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3183, allocations: 322.8 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3184, allocations: 35.97 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3185, allocations: 39.97 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3187, allocations: 92.8 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3187, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000271/0.319, allocations: 129.5 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.319, allocations: 11.94 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.319, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.319, allocations: 7.922 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3191, allocations: 19.98 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3191, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.3192, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3192, allocations: 7.984 kB / 1.332 GB, free: 12.1 MB / 1.029 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.0001002/0.3193, allocations: 126.3 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.3194, allocations: 11.89 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3197, allocations: 146.7 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3197, allocations: 64 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3197, allocations: 8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3197, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.32, allocations: 176.7 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.32, allocations: 0 / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.3201, allocations: 19.97 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3201, allocations: 7.938 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3201, allocations: 0 / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3201, allocations: 0 / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3201, allocations: 0 / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.3204, allocations: 235.3 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.3204, allocations: 7.891 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3205, allocations: 4 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3206, allocations: 7.984 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3206, allocations: 7.984 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3206, allocations: 11.98 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.225e-05/0.3207, allocations: 105.3 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3207, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002357/0.3209, allocations: 12 kB / 1.333 GB, free: 11.15 MB / 1.029 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.0001568/0.3211, allocations: 103.2 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.3214, allocations: 99.88 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3214, allocations: 4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3215, allocations: 47.97 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3217, allocations: 17.33 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.3222, allocations: 249.2 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.3226, allocations: 0.7002 MB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.3226, allocations: 23.42 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3226, allocations: 3.938 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of Templates: time 0.002973/0.3256, allocations: 1.176 MB / 1.335 GB, free: 8.668 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.063250448001781]