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.00209/0.00209, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.002432/0.002432, allocations: 166.2 kB / 22.46 MB, free: 5.371 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.425/1.425, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.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 2.889/2.889, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.351e-05, allocations: 5.234 kB / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.004506/0.004539, allocations: 1.609 MB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.00615, allocations: 0.561 MB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.006255, allocations: 7.938 kB / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.006411, allocations: 15.86 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.006483, allocations: 11.81 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.006954, allocations: 63.78 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.007204, allocations: 91.64 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.007407, allocations: 31.95 kB / 1.002 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.007648, allocations: 55.88 kB / 1.003 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.007762, allocations: 35.89 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.007794, allocations: 12 kB / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.007894, allocations: 23.86 kB / 1.003 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.007946, allocations: 15.94 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.008016, allocations: 31.91 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.008276, allocations: 99.61 kB / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.008279, allocations: 0 / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00828, allocations: 0 / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.008286, allocations: 0 / 1.003 GB, free: 4.574 MB / 0.9512 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.0007328/0.009018, allocations: 329.9 kB / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.009067, allocations: 12.03 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.009531, allocations: 40.81 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.009876, allocations: 150.1 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.009891, allocations: 384 / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.00991, allocations: 4.375 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.01028, allocations: 110.2 kB / 1.003 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.01029, allocations: 3.938 kB / 1.003 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.01031, allocations: 3.984 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01032, allocations: 4 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.01067, allocations: 99.92 kB / 1.003 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.0115, allocations: 312.2 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.01173, allocations: 58.48 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.01193, allocations: 52.89 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.01197, allocations: 3.938 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.01201, allocations: 34.56 kB / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.01201, allocations: 0 / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0007544/0.01277, allocations: 165.5 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.01283, allocations: 55.41 kB / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.01302, allocations: 140 kB / 1.004 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.01304, allocations: 25.7 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01314, allocations: 112.2 kB / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.01319, allocations: 27.78 kB / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.01325, allocations: 17.72 kB / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.01346, allocations: 318.8 kB / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.01364, allocations: 43.91 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.01382, allocations: 35.97 kB / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.01419, allocations: 101.2 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.0142, allocations: 4 kB / 1.005 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004652/0.01466, allocations: 121.6 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.01468, allocations: 7.984 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01469, allocations: 0 / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.01471, allocations: 0 / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.01491, allocations: 15.98 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.01492, allocations: 11.88 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01503, allocations: 15.94 kB / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.01506, allocations: 4 kB / 1.005 GB, free: 2.012 MB / 0.9512 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.0001389/0.0152, allocations: 114.4 kB / 1.005 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.01526, allocations: 7.953 kB / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005553/0.01582, allocations: 146.4 kB / 1.005 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01582, allocations: 0 / 1.005 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.01583, allocations: 3.938 kB / 1.005 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01583, allocations: 0 / 1.005 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.01613, allocations: 145.3 kB / 1.005 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01613, allocations: 0 / 1.005 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.0163, allocations: 27.91 kB / 1.005 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.0163, allocations: 0 / 1.005 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.01632, allocations: 4 kB / 1.005 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01632, allocations: 0 / 1.005 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01632, allocations: 0 / 1.005 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.01687, allocations: 223.5 kB / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.01689, allocations: 15.91 kB / 1.006 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.01692, allocations: 4 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.0171, allocations: 15.98 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.01716, allocations: 7.922 kB / 1.006 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.01718, allocations: 7.938 kB / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001165/0.01729, allocations: 103.3 kB / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01729, allocations: 0 / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000435/0.01773, allocations: 19.92 kB / 1.006 GB, free: 1.121 MB / 0.9512 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.0002044/0.01793, allocations: 107.2 kB / 1.006 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.01834, allocations: 95.94 kB / 1.006 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01834, allocations: 0 / 1.006 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.01853, allocations: 55.89 kB / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.01889, allocations: 8 kB / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000668/0.01956, allocations: 209.7 kB / 1.006 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.01969, allocations: 88.31 kB / 1.006 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.572e-05/0.01978, allocations: 15.97 kB / 1.006 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.01984, allocations: 20.48 kB / 1.006 GB, free: 484 kB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.01984, allocations: 0 / 1.006 GB, free: 484 kB / 0.9512 GB Notification: Performance of Templates: time 0.004873/0.02471, allocations: 0.7023 MB / 1.007 GB, free: 15.78 MB / 0.9669 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: 7.934380915015936]