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.001624/0.001624, 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.001913/0.001913, allocations: 222.9 kB / 23 MB, free: 4.91 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.253/3.253, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.002004/0.002004, allocations: 72.3 kB / 1.187 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3138, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.004108/0.3179, allocations: 1.603 MB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.3194, allocations: 0.566 MB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.3196, allocations: 0 / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.3197, allocations: 11.86 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.3198, allocations: 19.81 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.3202, allocations: 63.84 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.3204, allocations: 87.7 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.3206, allocations: 27.91 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.3208, allocations: 51.8 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.963e-05/0.3209, allocations: 35.83 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.3209, allocations: 8 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-05/0.321, allocations: 23.92 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.321, allocations: 19.92 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.3211, allocations: 39.8 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.3213, allocations: 91.62 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3213, allocations: 3.938 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3213, allocations: 0 / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.3213, allocations: 0 / 1.367 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.0006327/0.3219, allocations: 337.7 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.322, allocations: 8.031 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.3223, allocations: 36.86 kB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.3226, allocations: 147.9 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3226, allocations: 4.375 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3226, allocations: 12.12 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.3229, allocations: 101.6 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3229, allocations: 4 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3229, allocations: 7.938 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3229, allocations: 0 / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.3231, allocations: 99.92 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.3237, allocations: 316.2 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3239, allocations: 54.55 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.324, allocations: 40.95 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.324, allocations: 8 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3241, allocations: 30.56 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.3241, allocations: 8 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.000458/0.3245, allocations: 165.5 kB / 1.369 GB, free: 9.441 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.3246, allocations: 55.34 kB / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3247, allocations: 139.5 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3247, allocations: 25.7 kB / 1.369 GB, free: 9.199 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.3248, allocations: 108.2 kB / 1.369 GB, free: 9.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3248, allocations: 23.84 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.3249, allocations: 17.72 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.325, allocations: 330.8 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3251, allocations: 39.97 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.3252, allocations: 35.97 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.3255, allocations: 93.17 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3255, allocations: 3.938 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002843/0.3257, allocations: 129.5 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3258, allocations: 8 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3258, allocations: 7.922 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3258, allocations: 0 / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3259, allocations: 15.98 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3259, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.326, allocations: 11.98 kB / 1.37 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.326, allocations: 0 / 1.37 GB, free: 8.363 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 0.0001055/0.3261, allocations: 122.9 kB / 1.37 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.3262, allocations: 19.91 kB / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.3265, allocations: 150.2 kB / 1.37 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3265, allocations: 0 / 1.37 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3265, allocations: 0 / 1.37 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3265, allocations: 3.984 kB / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.3267, allocations: 141.3 kB / 1.37 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3267, allocations: 0 / 1.37 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3268, allocations: 19.97 kB / 1.37 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3268, allocations: 4 kB / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3268, allocations: 0 / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3268, allocations: 3.938 kB / 1.37 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3268, allocations: 7.984 kB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.3272, allocations: 227.5 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.3272, allocations: 7.953 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3272, allocations: 0 / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3273, allocations: 11.92 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.3274, allocations: 11.98 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.3274, allocations: 8 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.005e-05/0.3275, allocations: 105.7 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3275, allocations: 0 / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002364/0.3277, allocations: 19.94 kB / 1.37 GB, free: 7.449 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.0001517/0.3279, allocations: 99.19 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002947/0.3281, allocations: 99.88 kB / 1.371 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3281, allocations: 0 / 1.371 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3283, allocations: 51.97 kB / 1.371 GB, free: 7.195 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.3285, allocations: 7.922 kB / 1.371 GB, free: 7.188 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.329, allocations: 261.2 kB / 1.371 GB, free: 6.902 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.36e-05/0.3291, allocations: 88.12 kB / 1.371 GB, free: 6.797 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.3291, allocations: 19.42 kB / 1.371 GB, free: 6.777 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3291, allocations: 0 / 1.371 GB, free: 6.777 MB / 1.061 GB Notification: Performance of Templates: time 0.003022/0.3322, allocations: 1.226 MB / 1.372 GB, free: 5.559 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.02622277988121]