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.00134/0.00134, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001449/0.001449, allocations: 220.4 kB / 23 MB, free: 4.914 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.722/2.722, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.002116/0.002116, allocations: 69.66 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3706, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002959/0.3736, allocations: 1.586 MB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3748, allocations: 0.5707 MB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.3748, allocations: 0 / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3749, allocations: 7.875 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.375, allocations: 19.8 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.3753, allocations: 67.84 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.3755, allocations: 91.64 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3756, allocations: 27.92 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.3758, allocations: 47.78 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.3759, allocations: 39.83 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3759, allocations: 8 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.376, allocations: 16 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.376, allocations: 19.92 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.3761, allocations: 35.78 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.3762, allocations: 95.58 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3762, allocations: 0 / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3762, allocations: 7.938 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3763, allocations: 0 / 1.286 GB, free: 9.273 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.0005651/0.3768, allocations: 337.7 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3769, allocations: 8.031 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.3772, allocations: 52.72 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.3775, allocations: 146.9 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3775, allocations: 4.375 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3775, allocations: 12.12 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.3778, allocations: 107.9 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3778, allocations: 0 / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3778, allocations: 0 / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3778, allocations: 0 / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.378, allocations: 103.9 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.3786, allocations: 312.3 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.3788, allocations: 54.55 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3789, allocations: 44.95 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.3789, allocations: 3.984 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.379, allocations: 34.56 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.379, allocations: 0 / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004863/0.3795, allocations: 169.5 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3795, allocations: 59.34 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.3797, allocations: 141 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.3797, allocations: 25.7 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.3798, allocations: 108.2 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.3798, allocations: 15.86 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.3798, allocations: 21.7 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.38, allocations: 318.8 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3801, allocations: 39.97 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3802, allocations: 39.97 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.3804, allocations: 88.8 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3804, allocations: 384 / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002828/0.3807, allocations: 141.5 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3807, allocations: 4 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3807, allocations: 3.938 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3808, allocations: 4 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3809, allocations: 19.98 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3809, allocations: 4 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.381, allocations: 11.92 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.381, allocations: 4 kB / 1.289 GB, free: 6.715 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.0001011/0.3811, allocations: 121.8 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.3811, allocations: 7.953 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.3815, allocations: 154.2 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3815, allocations: 3.938 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3815, allocations: 0 / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3815, allocations: 0 / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.3817, allocations: 145.3 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3817, allocations: 0 / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3818, allocations: 15.98 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3818, allocations: 0 / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3818, allocations: 4 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.3818, allocations: 7.938 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3818, allocations: 4 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.3822, allocations: 223.3 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.3822, allocations: 11.95 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.3822, allocations: 4 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3823, allocations: 16.11 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.3824, allocations: 7.984 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.3824, allocations: 4 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.131e-05/0.3825, allocations: 107.2 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3825, allocations: 4 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002428/0.3827, allocations: 16 kB / 1.29 GB, free: 5.809 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.0001635/0.3829, allocations: 99.19 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.3832, allocations: 95.88 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3832, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.3833, allocations: 51.95 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3835, allocations: 12 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.384, allocations: 253.2 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.439e-05/0.3841, allocations: 93.89 kB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.3842, allocations: 11.44 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3842, allocations: 0 / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of Templates: time 0.003103/0.3873, allocations: 1.223 MB / 1.291 GB, free: 3.926 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.33268087496981]