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.001289/0.001289, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001306/0.001306, allocations: 186 kB / 20.78 MB, free: 1.547 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.423/1.423, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.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.751/2.751, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 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.001948/0.001948, allocations: 67.89 kB / 1.107 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9826/0.9845, allocations: 168.7 MB / 1.272 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002597/0.9871, allocations: 1.621 MB / 1.274 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000777/0.9879, allocations: 0.5095 MB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.9879, allocations: 1.656 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.9881, allocations: 11.09 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.9881, allocations: 22.73 kB / 1.274 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.9883, allocations: 34.16 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.9884, allocations: 85.94 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.9886, allocations: 38.64 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.9887, allocations: 30.98 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.9887, allocations: 41.83 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.9888, allocations: 5.844 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.9888, allocations: 16.59 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.9889, allocations: 20.78 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.9889, allocations: 40.45 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.989, allocations: 89.45 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9891, allocations: 1.062 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9891, allocations: 0 / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.9891, allocations: 0 / 1.274 GB, free: 6.457 MB / 0.9981 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.0004524/0.9895, allocations: 404 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.9896, allocations: 9.469 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.9896, allocations: 19.73 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.9897, allocations: 187.3 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.9898, allocations: 17.55 kB / 1.275 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.9898, allocations: 4.5 kB / 1.275 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.99, allocations: 113.1 kB / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.99, allocations: 4.781 kB / 1.275 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.9901, allocations: 4.859 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.9901, allocations: 1.656 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.9903, allocations: 98.17 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.9908, allocations: 379.4 kB / 1.276 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.991, allocations: 53.81 kB / 1.276 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.9911, allocations: 46.56 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.9911, allocations: 9.641 kB / 1.276 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.9911, allocations: 36.06 kB / 1.276 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.9911, allocations: 0 / 1.276 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0004515/0.9916, allocations: 165.8 kB / 1.276 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.9916, allocations: 52.75 kB / 1.276 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.9917, allocations: 137.8 kB / 1.276 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.9917, allocations: 30.52 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.9917, allocations: 103.8 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.9918, allocations: 24.12 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.9918, allocations: 25.78 kB / 1.276 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.9918, allocations: 320.8 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.992, allocations: 38.23 kB / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.986e-05/0.9921, allocations: 42.2 kB / 1.277 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.9923, allocations: 87.48 kB / 1.277 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9923, allocations: 0 / 1.277 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002499/0.9925, allocations: 128.2 kB / 1.277 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.9925, allocations: 5.656 kB / 1.277 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.9925, allocations: 3.938 kB / 1.277 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.9925, allocations: 5.125 kB / 1.277 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.9927, allocations: 21.67 kB / 1.277 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.9927, allocations: 0.875 kB / 1.277 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.858e-05/0.9928, allocations: 8.922 kB / 1.277 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.9928, allocations: 2.938 kB / 1.277 GB, free: 4.48 MB / 0.9981 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 6.158e-05/0.9928, allocations: 117.2 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.9929, allocations: 9.516 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.9932, allocations: 151.9 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.9932, allocations: 4.781 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9932, allocations: 0.5938 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9932, allocations: 1.672 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.9934, allocations: 204.5 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9934, allocations: 0.8125 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.924e-05/0.9935, allocations: 16.09 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9935, allocations: 1 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.9935, allocations: 5.75 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9935, allocations: 8.75 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9935, allocations: 0.7031 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.9938, allocations: 220.1 kB / 1.278 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.9938, allocations: 83.75 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.9938, allocations: 1.453 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.9939, allocations: 19.36 kB / 1.278 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.994, allocations: 7.781 kB / 1.278 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.994, allocations: 2.531 kB / 1.278 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.994, allocations: 101.3 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.994, allocations: 0 / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002319/0.9943, allocations: 17.92 kB / 1.278 GB, free: 3.703 MB / 0.9981 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.0001486/0.9944, allocations: 106.9 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.9947, allocations: 101.8 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9947, allocations: 0 / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.9948, allocations: 50.19 kB / 1.278 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.9951, allocations: 8.125 kB / 1.278 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.9955, allocations: 223.3 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.9956, allocations: 0.7042 MB / 1.279 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.9958, allocations: 28.78 kB / 1.279 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.9958, allocations: 13.39 kB / 1.279 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.9958, allocations: 0 / 1.279 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of Templates: time 0.003427/0.9992, allocations: 0.7336 MB / 1.28 GB, free: 2.605 MB / 0.9981 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/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: 8.741314723156393]