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.00185/0.00185, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002389/0.002389, allocations: 217.5 kB / 23.01 MB, free: 5.125 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.242/3.242, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002002/0.002002, allocations: 74.17 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3917, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003113/0.3948, allocations: 1.631 MB / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.396, allocations: 0.6078 MB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.3961, allocations: 7.938 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.3962, allocations: 11.86 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.717e-05/0.3963, allocations: 11.86 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.3966, allocations: 55.86 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3968, allocations: 95.64 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.3969, allocations: 31.92 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.3971, allocations: 51.83 kB / 1.357 GB, free: 5.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.3972, allocations: 39.84 kB / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3972, allocations: 4 kB / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.059e-05/0.3973, allocations: 19.98 kB / 1.357 GB, free: 5.367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.3974, allocations: 27.86 kB / 1.357 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.3974, allocations: 43.72 kB / 1.357 GB, free: 5.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.3976, allocations: 91.58 kB / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3976, allocations: 0 / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3976, allocations: 4 kB / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.3976, allocations: 0 / 1.357 GB, free: 5.203 MB / 1.045 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.000608/0.3982, allocations: 341.8 kB / 1.357 GB, free: 4.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3983, allocations: 8.031 kB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.3986, allocations: 36.86 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.3989, allocations: 150.8 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3989, allocations: 12.38 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.3989, allocations: 8.125 kB / 1.357 GB, free: 4.605 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.3992, allocations: 103.3 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3992, allocations: 0 / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3992, allocations: 8 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.3992, allocations: 3.984 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.3994, allocations: 95.94 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.4001, allocations: 351.6 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.4002, allocations: 59.11 kB / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.4003, allocations: 44.95 kB / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.4004, allocations: 11.98 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4004, allocations: 38.44 kB / 1.358 GB, free: 3.836 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4004, allocations: 0 / 1.358 GB, free: 3.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0004668/0.4009, allocations: 165.5 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.4009, allocations: 55.41 kB / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.4011, allocations: 139.1 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4011, allocations: 33.7 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.4012, allocations: 108.2 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.4012, allocations: 15.84 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.4012, allocations: 25.7 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4014, allocations: 318.8 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4015, allocations: 39.97 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.4016, allocations: 47.91 kB / 1.359 GB, free: 2.855 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.4018, allocations: 84.81 kB / 1.359 GB, free: 2.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4018, allocations: 0 / 1.359 GB, free: 2.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002606/0.4021, allocations: 125.6 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4021, allocations: 7.938 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4021, allocations: 0 / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4021, allocations: 4 kB / 1.359 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.4022, allocations: 19.98 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4023, allocations: 0 / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.4023, allocations: 11.98 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.4023, allocations: 7.938 kB / 1.359 GB, free: 2.59 MB / 1.045 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.0001083/0.4025, allocations: 122.4 kB / 1.359 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.4025, allocations: 15.83 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.4028, allocations: 150.8 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4028, allocations: 0 / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4028, allocations: 0 / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4028, allocations: 0 / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.4031, allocations: 180.6 kB / 1.36 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4031, allocations: 0 / 1.36 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.961e-05/0.4032, allocations: 19.92 kB / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.4032, allocations: 3.938 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.4032, allocations: 4 kB / 1.36 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4032, allocations: 8 kB / 1.36 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4032, allocations: 3.984 kB / 1.36 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.4035, allocations: 211.5 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.4035, allocations: 11.89 kB / 1.36 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.4036, allocations: 7.984 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.4037, allocations: 4 kB / 1.36 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.4037, allocations: 11.98 kB / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.4037, allocations: 4 kB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.666e-05/0.4038, allocations: 109.5 kB / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4038, allocations: 3.938 kB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002369/0.404, allocations: 16 kB / 1.36 GB, free: 1.648 MB / 1.045 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.0001771/0.4042, allocations: 103.1 kB / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.4045, allocations: 99.92 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4045, allocations: 0 / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.4046, allocations: 47.91 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4048, allocations: 13.34 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.4054, allocations: 257.2 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.4057, allocations: 0.7056 MB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.4058, allocations: 15.44 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.4058, allocations: 0 / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of Templates: time 0.003098/0.4089, allocations: 1.184 MB / 1.362 GB, free: 15.16 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/jenkins1/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: 11.290417668991722]