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.002015/0.002015, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00281/0.00281, allocations: 211 kB / 22.24 MB, free: 5.258 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.789 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.81/2.81, allocations: 475.9 MB / 0.7699 GB, free: 4.789 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.00245/0.00245, allocations: 72.72 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3565, allocations: 169.9 MB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003085/0.3596, allocations: 1.608 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3607, allocations: 0.5668 MB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.3608, allocations: 7.938 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.3609, allocations: 7.875 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.361, allocations: 19.8 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.3613, allocations: 59.86 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.3615, allocations: 91.64 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3617, allocations: 31.91 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3618, allocations: 47.84 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.3619, allocations: 39.78 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3619, allocations: 8 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.658e-05/0.362, allocations: 15.97 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.3621, allocations: 23.92 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.3621, allocations: 27.81 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.3623, allocations: 103.6 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3623, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3623, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3623, allocations: 3.938 kB / 1.286 GB, free: 9.324 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.0005893/0.3629, allocations: 341.8 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.363, allocations: 8.031 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.3633, allocations: 40.81 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.3635, allocations: 145.1 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3635, allocations: 8.375 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3636, allocations: 8.125 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.3639, allocations: 109.6 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3639, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3639, allocations: 7.938 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3639, allocations: 0 / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.3641, allocations: 91.94 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.3647, allocations: 308.2 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.3649, allocations: 62.48 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.365, allocations: 52.94 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.365, allocations: 4 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3651, allocations: 30.56 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3651, allocations: 0 / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000482/0.3656, allocations: 161.6 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3656, allocations: 59.34 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3658, allocations: 145.8 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3658, allocations: 29.7 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.3659, allocations: 108.2 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.3659, allocations: 15.86 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.3659, allocations: 21.7 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3661, allocations: 322.8 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3662, allocations: 35.97 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.3663, allocations: 39.97 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.3666, allocations: 93.19 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3666, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002906/0.3669, allocations: 129.5 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3669, allocations: 8 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3669, allocations: 3.938 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3669, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.367, allocations: 23.92 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.367, allocations: 0 / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.3671, allocations: 11.98 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.3671, allocations: 4 kB / 1.288 GB, free: 6.773 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.0001066/0.3672, allocations: 125.8 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.3673, allocations: 7.953 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.3676, allocations: 142.3 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3677, allocations: 11.94 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3677, allocations: 3.938 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3677, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3679, allocations: 137.3 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3679, allocations: 3.938 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.368, allocations: 19.98 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.368, allocations: 3.984 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.368, allocations: 0 / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.368, allocations: 7.922 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.368, allocations: 0 / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.3684, allocations: 231.5 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.3684, allocations: 11.94 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3684, allocations: 0 / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3685, allocations: 11.94 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.3685, allocations: 11.92 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3686, allocations: 4 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.926e-05/0.3686, allocations: 110.2 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3686, allocations: 0 / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002403/0.3689, allocations: 12 kB / 1.289 GB, free: 5.871 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.0001596/0.369, allocations: 107.2 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002972/0.3693, allocations: 95.92 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3693, allocations: 0 / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3695, allocations: 51.91 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.3697, allocations: 4 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.3702, allocations: 235.5 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.855e-05/0.3703, allocations: 88.19 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.328e-05/0.3703, allocations: 11.98 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.3704, allocations: 15.44 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3704, allocations: 0 / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of Templates: time 0.003578/0.374, allocations: 0.7837 MB / 1.29 GB, free: 4.449 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/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.895826295018196]