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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002598/0.002598, allocations: 200.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.815/2.815, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002029/0.002029, allocations: 63.91 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.998/1, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003835/1.004, allocations: 1.624 MB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001207/1.005, allocations: 0.512 MB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/1.005, allocations: 0 / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/1.005, allocations: 11.88 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/1.005, allocations: 15.8 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/1.006, allocations: 39.95 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/1.006, allocations: 83.7 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/1.006, allocations: 28.22 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/1.006, allocations: 47.77 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/1.006, allocations: 35.84 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/1.006, allocations: 4 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.132e-05/1.006, allocations: 16 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/1.006, allocations: 23.91 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/1.006, allocations: 39.73 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/1.007, allocations: 86.31 kB / 1.277 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.007, allocations: 8 kB / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/1.007, allocations: 0 / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.122e-06/1.007, allocations: 0 / 1.277 GB, free: 1.965 MB / 0.9669 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.0006374/1.007, allocations: 406.9 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.007, allocations: 8.031 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/1.007, allocations: 24.78 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/1.008, allocations: 188.2 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/1.008, allocations: 4.375 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/1.008, allocations: 12.38 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/1.008, allocations: 109.9 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.008, allocations: 0 / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/1.008, allocations: 11.94 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/1.008, allocations: 0 / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/1.008, allocations: 95.88 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/1.009, allocations: 380.6 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/1.009, allocations: 58.48 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/1.009, allocations: 44.95 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/1.009, allocations: 4 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.009, allocations: 38.56 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/1.009, allocations: 0 / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004846/1.01, allocations: 169.5 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.01, allocations: 51.41 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.01, allocations: 131.6 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/1.01, allocations: 29.7 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/1.01, allocations: 112.2 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/1.01, allocations: 19.8 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/1.01, allocations: 21.7 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.01, allocations: 318.8 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/1.01, allocations: 43.91 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/1.01, allocations: 35.97 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/1.011, allocations: 92.8 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.011, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002943/1.011, allocations: 129.5 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.011, allocations: 8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/1.011, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.011, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/1.011, allocations: 28.34 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/1.011, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/1.011, allocations: 11.98 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/1.011, allocations: 4 kB / 1.279 GB, free: 15.2 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.0001787/1.011, allocations: 121.8 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/1.011, allocations: 7.953 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/1.012, allocations: 146.3 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.012, allocations: 3.938 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/1.012, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.012, allocations: 4 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/1.012, allocations: 209.5 kB / 1.28 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.012, allocations: 0 / 1.28 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/1.012, allocations: 19.98 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.012, allocations: 0 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/1.012, allocations: 0 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/1.012, allocations: 7.938 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.012, allocations: 0 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/1.013, allocations: 227.3 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/1.013, allocations: 85.06 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/1.013, allocations: 4 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.013, allocations: 11.92 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/1.013, allocations: 7.984 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/1.013, allocations: 4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.514e-05/1.013, allocations: 105.5 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.013, allocations: 0 / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002313/1.013, allocations: 15.94 kB / 1.28 GB, free: 14.14 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.0001867/1.013, allocations: 107.8 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002985/1.014, allocations: 95.88 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.014, allocations: 4 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/1.014, allocations: 52.16 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/1.014, allocations: 7.938 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/1.014, allocations: 227 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/1.015, allocations: 0.7002 MB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000127/1.015, allocations: 23.97 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/1.015, allocations: 15.42 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/1.015, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.003599/1.019, allocations: 0.7351 MB / 1.282 GB, free: 12.13 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 -s cvode -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_2/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.994756361935288]