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.0008104/0.0008104, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000835/0.000835, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8672/0.8672, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.711/1.711, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.673e-06/1.673e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.553e-05, allocations: 9.234 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002408/0.002433, allocations: 1.6 MB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008789/0.003312, allocations: 0.5696 MB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.00338, allocations: 3.938 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.00348, allocations: 7.875 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.003517, allocations: 15.81 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.003824, allocations: 67.78 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.003961, allocations: 91.62 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.004103, allocations: 31.97 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.004258, allocations: 55.88 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.004331, allocations: 31.91 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.004353, allocations: 8 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.004425, allocations: 27.84 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.004471, allocations: 19.92 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.00451, allocations: 31.91 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.004681, allocations: 95.62 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.004683, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.243e-06/0.004684, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.004689, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 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.0004652/0.005154, allocations: 333.9 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.005197, allocations: 13.33 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.005439, allocations: 40.81 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.005611, allocations: 146.1 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.00562, allocations: 4.375 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.005632, allocations: 8.375 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.0058, allocations: 106.2 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005808, allocations: 7.922 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.005818, allocations: 4 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.005823, allocations: 0 / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.005952, allocations: 95.92 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.006308, allocations: 312.2 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.311e-05/0.006401, allocations: 62.48 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.006464, allocations: 48.89 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.006495, allocations: 3.984 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.006513, allocations: 38.56 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.006514, allocations: 0 / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002717/0.006786, allocations: 157.6 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.006813, allocations: 59.41 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.00689, allocations: 144.2 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.0069, allocations: 25.7 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.006942, allocations: 108.2 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.006965, allocations: 27.73 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.006994, allocations: 17.7 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.007068, allocations: 318.8 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.007128, allocations: 43.91 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.007182, allocations: 39.97 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.007303, allocations: 93.17 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007304, allocations: 0 / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001507/0.007455, allocations: 133.6 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.007465, allocations: 4 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.007469, allocations: 0 / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.00748, allocations: 0 / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.007552, allocations: 19.98 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.007558, allocations: 7.875 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.007589, allocations: 15.94 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.007605, allocations: 3.984 kB / 1.006 GB, free: 7.754 MB / 0.9636 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 6.292e-05/0.007668, allocations: 121.8 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.007684, allocations: 7.953 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.007883, allocations: 142.4 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.007884, allocations: 4 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.007888, allocations: 3.938 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.007891, allocations: 0 / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.008, allocations: 145.3 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.008, allocations: 0 / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.008043, allocations: 19.92 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.008044, allocations: 0 / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.008051, allocations: 0 / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.008052, allocations: 7.938 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008053, allocations: 0 / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.008221, allocations: 223.4 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.00823, allocations: 12.09 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.008242, allocations: 4 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.008289, allocations: 15.98 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.008329, allocations: 3.984 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.008336, allocations: 7.938 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.008379, allocations: 109.7 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008379, allocations: 0 / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001528/0.008532, allocations: 19.94 kB / 1.007 GB, free: 6.859 MB / 0.9636 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 9.094e-05/0.008623, allocations: 103.2 kB / 1.007 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.00878, allocations: 95.92 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.008782, allocations: 0 / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.243e-05/0.008844, allocations: 51.91 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.008995, allocations: 7.938 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.009445, allocations: 251.4 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.865e-05/0.009504, allocations: 90.38 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.009533, allocations: 12.5 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.009533, allocations: 0 / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of Templates: time 0.001774/0.01131, allocations: 1.227 MB / 1.008 GB, free: 4.969 MB / 0.9636 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: 6.433303916826844]