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.001431/0.001431, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001598/0.001598, allocations: 161.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 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.465/1.465, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.698/2.698, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.953e-05, allocations: 3.656 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.004467/0.004496, allocations: 1.61 MB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.006182, allocations: 0.5684 MB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.006284, allocations: 7.938 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.006429, allocations: 11.86 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.006498, allocations: 20.7 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.006912, allocations: 60.64 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.007156, allocations: 92.2 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.007324, allocations: 28.77 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.007562, allocations: 59.83 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.007669, allocations: 32.8 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.007696, allocations: 4 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.007798, allocations: 23.92 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.007861, allocations: 28.56 kB / 0.7889 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.007925, allocations: 23.36 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.008206, allocations: 107.6 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.008209, allocations: 0 / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00821, allocations: 0 / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.008215, allocations: 3.938 kB / 0.789 GB, free: 10.16 MB / 0.7448 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.0009108/0.009125, allocations: 329.9 kB / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.009171, allocations: 8.031 kB / 0.7893 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004884/0.009659, allocations: 37.55 kB / 0.7894 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.01004, allocations: 150.8 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.01006, allocations: 5.969 kB / 0.7895 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.01008, allocations: 8.375 kB / 0.7895 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.01047, allocations: 106.2 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.01049, allocations: 4.625 kB / 0.7896 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.01051, allocations: 4 kB / 0.7896 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.01051, allocations: 5.188 kB / 0.7896 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.01093, allocations: 91.94 kB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.01181, allocations: 317.7 kB / 0.79 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.01206, allocations: 56.14 kB / 0.7901 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.01227, allocations: 44.95 kB / 0.7901 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.01231, allocations: 4 kB / 0.7901 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.01236, allocations: 35.19 kB / 0.7901 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.01236, allocations: 5.906 kB / 0.7902 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0008149/0.01318, allocations: 169.5 kB / 0.7903 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.01324, allocations: 51.94 kB / 0.7904 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.01346, allocations: 149.6 kB / 0.7905 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.01349, allocations: 26.42 kB / 0.7905 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.0136, allocations: 108.2 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.01365, allocations: 25.05 kB / 0.7907 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.01372, allocations: 21.7 kB / 0.7907 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002529/0.01398, allocations: 322.8 kB / 0.791 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.01417, allocations: 36.59 kB / 0.791 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.01434, allocations: 41.09 kB / 0.7911 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.01474, allocations: 89.95 kB / 0.7911 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01474, allocations: 0.6875 kB / 0.7911 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005217/0.01526, allocations: 130.8 kB / 0.7913 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.01528, allocations: 8 kB / 0.7913 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01529, allocations: 0.5 kB / 0.7913 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.01531, allocations: 1.125 kB / 0.7913 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.01552, allocations: 19.97 kB / 0.7913 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.01553, allocations: 3.938 kB / 0.7913 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.01565, allocations: 8.906 kB / 0.7913 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.01568, allocations: 3.984 kB / 0.7913 GB, free: 7.625 MB / 0.7448 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.0001708/0.01585, allocations: 122.7 kB / 0.7914 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.01592, allocations: 14.12 kB / 0.7914 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.0165, allocations: 142.3 kB / 0.7916 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.0165, allocations: 0 / 0.7916 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.01651, allocations: 3.938 kB / 0.7916 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.01652, allocations: 6.766 kB / 0.7916 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.01685, allocations: 145.3 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01686, allocations: 0 / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.01702, allocations: 15.98 kB / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01702, allocations: 0 / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.01705, allocations: 7.984 kB / 0.7918 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01705, allocations: 0 / 0.7918 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01705, allocations: 1.469 kB / 0.7918 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.01766, allocations: 231.3 kB / 0.792 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.01768, allocations: 8.453 kB / 0.792 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.01771, allocations: 4.688 kB / 0.792 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.01789, allocations: 9.375 kB / 0.792 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.01796, allocations: 11.98 kB / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.01799, allocations: 7.922 kB / 0.792 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001288/0.01811, allocations: 103.3 kB / 0.7921 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01811, allocations: 1.094 kB / 0.7921 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004824/0.0186, allocations: 23.89 kB / 0.7921 GB, free: 6.734 MB / 0.7448 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.0002137/0.01881, allocations: 107.9 kB / 0.7922 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.01928, allocations: 96.84 kB / 0.7923 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01928, allocations: 0.9375 kB / 0.7923 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.01951, allocations: 49 kB / 0.7924 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.01992, allocations: 6.031 kB / 0.7924 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007059/0.02062, allocations: 230.1 kB / 0.7926 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.02077, allocations: 85.44 kB / 0.7927 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.672e-05/0.02087, allocations: 13.05 kB / 0.7927 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.02094, allocations: 20.48 kB / 0.7927 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.02094, allocations: 3.938 kB / 0.7927 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of Templates: time 0.005102/0.02604, allocations: 0.7131 MB / 0.7934 GB, free: 5.383 MB / 0.7448 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 -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/jenkins/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: 7.413899918086827]