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.001843/0.001843, allocations: 79.7 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.002013/0.002013, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.527/1.527, 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.847/2.847, 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.864e-06/1.864e-06, allocations: 3.938 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.194e-05, allocations: 3.875 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003227/0.003259, allocations: 1.62 MB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.00481, allocations: 0.5676 MB / 0.7885 GB, free: 9.488 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.004883, allocations: 7.938 kB / 0.7885 GB, free: 9.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.005013, allocations: 12.42 kB / 0.7885 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.005066, allocations: 17.23 kB / 0.7886 GB, free: 9.453 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.005411, allocations: 63.8 kB / 0.7886 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.005583, allocations: 92.61 kB / 0.7887 GB, free: 9.301 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.005738, allocations: 23.97 kB / 0.7887 GB, free: 9.277 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.005941, allocations: 64.97 kB / 0.7888 GB, free: 9.215 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.006027, allocations: 23.97 kB / 0.7888 GB, free: 9.191 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.00605, allocations: 7.938 kB / 0.7888 GB, free: 9.184 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.047e-05/0.006131, allocations: 20.55 kB / 0.7888 GB, free: 9.164 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.006193, allocations: 27.91 kB / 0.7889 GB, free: 9.137 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.006239, allocations: 20.89 kB / 0.7889 GB, free: 9.117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.006462, allocations: 107.6 kB / 0.789 GB, free: 9.012 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.006466, allocations: 1.625 kB / 0.789 GB, free: 9.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.006468, allocations: 0 / 0.789 GB, free: 9.012 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.006473, allocations: 0 / 0.789 GB, free: 9.012 MB / 0.698 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.0007061/0.007179, allocations: 439.7 kB / 0.7894 GB, free: 8.547 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.00722, allocations: 13.25 kB / 0.7894 GB, free: 8.535 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.007532, allocations: 36.86 kB / 0.7895 GB, free: 8.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.007816, allocations: 149.7 kB / 0.7896 GB, free: 8.328 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.007833, allocations: 5.281 kB / 0.7896 GB, free: 8.324 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.007848, allocations: 4.375 kB / 0.7896 GB, free: 8.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.008098, allocations: 90.23 kB / 0.7897 GB, free: 8.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.008111, allocations: 7.875 kB / 0.7897 GB, free: 8.223 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.008126, allocations: 5.594 kB / 0.7897 GB, free: 8.219 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.008134, allocations: 4 kB / 0.7897 GB, free: 8.215 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.008314, allocations: 47.97 kB / 0.7898 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.009032, allocations: 363 kB / 0.7901 GB, free: 7.781 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.009176, allocations: 47.05 kB / 0.7902 GB, free: 7.723 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/0.009271, allocations: 31.8 kB / 0.7902 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.009315, allocations: 4 kB / 0.7902 GB, free: 7.684 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.009353, allocations: 37.39 kB / 0.7902 GB, free: 7.637 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.009354, allocations: 0 / 0.7902 GB, free: 7.637 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004357/0.00979, allocations: 122.2 kB / 0.7903 GB, free: 7.512 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.009842, allocations: 57.06 kB / 0.7904 GB, free: 7.445 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.01004, allocations: 207.7 kB / 0.7906 GB, free: 7.227 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.01006, allocations: 25.7 kB / 0.7906 GB, free: 7.195 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01017, allocations: 158.9 kB / 0.7908 GB, free: 7.035 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.01021, allocations: 24.75 kB / 0.7908 GB, free: 7.012 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.01026, allocations: 23.38 kB / 0.7908 GB, free: 6.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002677/0.01053, allocations: 0.4962 MB / 0.7913 GB, free: 6.473 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.01061, allocations: 25.02 kB / 0.7913 GB, free: 6.449 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.01069, allocations: 21.33 kB / 0.7913 GB, free: 6.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.01085, allocations: 59.59 kB / 0.7914 GB, free: 6.367 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01085, allocations: 0 / 0.7914 GB, free: 6.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002376/0.01109, allocations: 94.22 kB / 0.7915 GB, free: 6.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.0111, allocations: 5.281 kB / 0.7915 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.01111, allocations: 7.984 kB / 0.7915 GB, free: 6.258 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01113, allocations: 0 / 0.7915 GB, free: 6.258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.01126, allocations: 20.77 kB / 0.7915 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.01127, allocations: 3.938 kB / 0.7915 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.01133, allocations: 9.797 kB / 0.7915 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.01135, allocations: 0 / 0.7915 GB, free: 6.227 MB / 0.698 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.0001349/0.01148, allocations: 164.5 kB / 0.7917 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.01152, allocations: 15.91 kB / 0.7917 GB, free: 6.039 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.01184, allocations: 107 kB / 0.7918 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01184, allocations: 0.6875 kB / 0.7918 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.01185, allocations: 8.922 kB / 0.7918 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01185, allocations: 0 / 0.7918 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.01208, allocations: 161.8 kB / 0.792 GB, free: 5.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.01208, allocations: 4 kB / 0.792 GB, free: 5.727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.01218, allocations: 15.98 kB / 0.792 GB, free: 5.711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01218, allocations: 0.5312 kB / 0.792 GB, free: 5.711 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01219, allocations: 1.219 kB / 0.792 GB, free: 5.711 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01219, allocations: 0 / 0.792 GB, free: 5.711 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01219, allocations: 0 / 0.792 GB, free: 5.711 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.01252, allocations: 252.8 kB / 0.7922 GB, free: 5.445 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.01254, allocations: 7.953 kB / 0.7922 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.01256, allocations: 1 kB / 0.7922 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.01265, allocations: 7.984 kB / 0.7923 GB, free: 5.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.0127, allocations: 8 kB / 0.7923 GB, free: 5.422 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.01272, allocations: 8.641 kB / 0.7923 GB, free: 5.414 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001233/0.01284, allocations: 153 kB / 0.7924 GB, free: 5.266 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01284, allocations: 1.031 kB / 0.7924 GB, free: 5.266 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002268/0.01307, allocations: 15.95 kB / 0.7924 GB, free: 5.25 MB / 0.698 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.0001917/0.01326, allocations: 108.3 kB / 0.7925 GB, free: 5.137 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.0135, allocations: 64.44 kB / 0.7926 GB, free: 5.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.01351, allocations: 4 kB / 0.7926 GB, free: 5.066 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01361, allocations: 41.83 kB / 0.7926 GB, free: 5.023 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.01384, allocations: 14.64 kB / 0.7927 GB, free: 5.012 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.01434, allocations: 214.6 kB / 0.7929 GB, free: 4.773 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01444, allocations: 91.06 kB / 0.7929 GB, free: 4.668 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.451e-05/0.01451, allocations: 11.98 kB / 0.793 GB, free: 4.656 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.01455, allocations: 16.5 kB / 0.793 GB, free: 4.641 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.01455, allocations: 0 / 0.793 GB, free: 4.641 MB / 0.698 GB Notification: Performance of Templates: time 0.003884/0.01843, allocations: 0.7126 MB / 0.7937 GB, free: 3.953 MB / 0.698 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] 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.860371264978312]