Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001809/0.001809, 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.002262/0.002262, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.378/3.378, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002049/0.002049, allocations: 58.94 kB / 1.186 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3509, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002985/0.3539, allocations: 1.608 MB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.355, allocations: 0.5584 MB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.355, allocations: 3.938 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.3552, allocations: 15.86 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.535e-05/0.3552, allocations: 15.8 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.3555, allocations: 59.84 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3556, allocations: 87.7 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.3558, allocations: 35.92 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.3559, allocations: 47.78 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.356, allocations: 39.78 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.356, allocations: 8 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.3561, allocations: 15.98 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.3561, allocations: 23.91 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.3562, allocations: 35.8 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.3563, allocations: 95.58 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3563, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3563, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3563, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 1.061 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.0005749/0.3569, allocations: 333.8 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3569, allocations: 12.03 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.3573, allocations: 32.86 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.3575, allocations: 151.6 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3575, allocations: 8.312 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3575, allocations: 8.125 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.3578, allocations: 113.6 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3578, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3578, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3578, allocations: 3.984 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.358, allocations: 95.92 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.3586, allocations: 316.2 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.3588, allocations: 62.48 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.3589, allocations: 48.95 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.3589, allocations: 0 / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.359, allocations: 34.56 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.359, allocations: 0 / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.000469/0.3594, allocations: 169.5 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3595, allocations: 55.34 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3596, allocations: 138 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3597, allocations: 29.7 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.3597, allocations: 112.2 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.3598, allocations: 15.84 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.3598, allocations: 21.72 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3599, allocations: 322.8 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3601, allocations: 39.97 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3602, allocations: 44.22 kB / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.3604, allocations: 92.92 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3604, allocations: 0 / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002834/0.3607, allocations: 121.6 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3607, allocations: 7.984 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3607, allocations: 3.938 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3607, allocations: 3.938 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3608, allocations: 27.92 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3608, allocations: 0 / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.3609, allocations: 7.984 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.3609, allocations: 8 kB / 1.369 GB, free: 8.355 MB / 1.061 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 9.436e-05/0.361, allocations: 118.9 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.3611, allocations: 11.91 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/0.3614, allocations: 150.2 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3614, allocations: 7.938 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3614, allocations: 0 / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3614, allocations: 0 / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.3616, allocations: 137.3 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3616, allocations: 0 / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3617, allocations: 23.91 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3617, allocations: 0 / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3617, allocations: 4 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3617, allocations: 4.062 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3617, allocations: 4 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.3621, allocations: 227.4 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.3621, allocations: 3.953 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3621, allocations: 0 / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.3622, allocations: 19.92 kB / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.3622, allocations: 3.984 kB / 1.369 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3622, allocations: 4 kB / 1.369 GB, free: 7.582 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.968e-05/0.3623, allocations: 111.2 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3623, allocations: 0 / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002505/0.3626, allocations: 15.95 kB / 1.37 GB, free: 7.457 MB / 1.061 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.0001497/0.3627, allocations: 107.2 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.363, allocations: 91.94 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.363, allocations: 0 / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3631, allocations: 55.89 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3633, allocations: 5.875 kB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.3638, allocations: 235.5 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.496e-05/0.3639, allocations: 84.19 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.099e-05/0.3639, allocations: 15.97 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.364, allocations: 19.42 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.364, allocations: 0 / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of Templates: time 0.003431/0.3674, allocations: 0.7781 MB / 1.371 GB, free: 6.039 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.136878503486514]