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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 187.8 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 251 MB, free: 13.02 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.787/2.787, allocations: 476.7 MB / 0.7646 GB, free: 9.848 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 67.89 kB / 1.11 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7979/0.8001, allocations: 168.8 MB / 1.274 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003331/0.8034, allocations: 1.613 MB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.8044, allocations: 0.5082 MB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.8045, allocations: 3.938 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.8046, allocations: 11.86 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.8047, allocations: 15.88 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.8049, allocations: 47.81 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.8051, allocations: 79.77 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.8052, allocations: 28.22 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.8053, allocations: 39.84 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.8055, allocations: 39.84 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.8055, allocations: 4 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.8055, allocations: 15.98 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.8056, allocations: 19.92 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.8057, allocations: 43.72 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.8058, allocations: 97.97 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.8058, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.265e-06/0.8058, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.8058, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 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.0006082/0.8065, allocations: 329.8 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.8065, allocations: 12.03 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.8065, allocations: 12.84 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.8067, allocations: 130.4 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.8067, allocations: 8.375 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.8068, allocations: 4.375 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.807, allocations: 124.9 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.8071, allocations: 0 / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.8071, allocations: 0 / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.8071, allocations: 0 / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.8074, allocations: 95.94 kB / 1.278 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.808, allocations: 359.5 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.8082, allocations: 54.55 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.8083, allocations: 44.95 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.387e-05/0.8083, allocations: 7.984 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.8084, allocations: 38.56 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.8084, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0005032/0.8089, allocations: 165.5 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.8089, allocations: 51.41 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.809, allocations: 131.5 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.8091, allocations: 37.7 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.8091, allocations: 100.1 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.8092, allocations: 23.92 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.8092, allocations: 21.72 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8094, allocations: 318.8 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.8095, allocations: 39.97 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.8096, allocations: 35.97 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.8098, allocations: 97.17 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8098, allocations: 4 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002907/0.8101, allocations: 129.5 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.8101, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.8101, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8102, allocations: 3.984 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.8103, allocations: 23.92 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.8103, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.8104, allocations: 8 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.8104, allocations: 3.984 kB / 1.279 GB, free: 15.07 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.0001062/0.8105, allocations: 117.8 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.8105, allocations: 7.953 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.8109, allocations: 150.2 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.8109, allocations: 11.92 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8109, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8109, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.8112, allocations: 172.7 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.8112, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.8113, allocations: 15.98 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.8113, allocations: 3.984 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.8113, allocations: 8 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8113, allocations: 3.938 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8113, allocations: 4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.8116, allocations: 223.5 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.8117, allocations: 15.89 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.8117, allocations: 4 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.8118, allocations: 15.86 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.8118, allocations: 8 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.8118, allocations: 7.984 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.8119, allocations: 101.3 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8119, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002365/0.8121, allocations: 12 kB / 1.28 GB, free: 14.12 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.0001417/0.8123, allocations: 103.2 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.8126, allocations: 103.9 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8126, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.8127, allocations: 47.97 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.813, allocations: 11.94 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.8134, allocations: 223 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.8137, allocations: 0.7002 MB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.8139, allocations: 19.97 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.8139, allocations: 11.44 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.8139, allocations: 0 / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of Templates: time 0.003412/0.8173, allocations: 0.7514 MB / 1.282 GB, free: 12.11 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.62399467639625]