Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008584/0.0008584, 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.0008303/0.0008303, 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.8946/0.8946, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.724/1.724, allocations: 377.9 MB / 0.6229 GB, free: 8.621 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.477e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001852/0.001877, allocations: 1.596 MB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.00261, allocations: 0.5688 MB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.002675, allocations: 7.938 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.002776, allocations: 15.81 kB / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 2.86e-05/0.002804, allocations: 15.84 kB / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.003073, allocations: 63.8 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.003193, allocations: 87.64 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.003339, allocations: 35.91 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.003506, allocations: 63.81 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.003567, allocations: 27.91 kB / 0.9846 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.003584, allocations: 4 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.393e-05/0.003648, allocations: 23.97 kB / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.003684, allocations: 19.92 kB / 0.9847 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.003716, allocations: 23.92 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.003857, allocations: 103.6 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003859, allocations: 0 / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.00386, allocations: 3.938 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003865, allocations: 4 kB / 0.9848 GB, free: 15.38 MB / 0.948 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.0004211/0.004286, allocations: 341.8 kB / 0.9851 GB, free: 15.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.004322, allocations: 8.031 kB / 0.9851 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.004488, allocations: 36.86 kB / 0.9852 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.004656, allocations: 150.1 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.004665, allocations: 4.375 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.004678, allocations: 8.375 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.004857, allocations: 109.4 kB / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.004865, allocations: 3.938 kB / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.004876, allocations: 7.938 kB / 0.9854 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.004882, allocations: 4 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.005014, allocations: 95.88 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.005408, allocations: 308.3 kB / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/0.005505, allocations: 62.48 kB / 0.9859 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/0.005571, allocations: 44.95 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.005607, allocations: 11.98 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.005624, allocations: 30.56 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.005625, allocations: 0 / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002916/0.005917, allocations: 169.5 kB / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.005947, allocations: 55.34 kB / 0.9862 GB, free: 13.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.006029, allocations: 139.6 kB / 0.9863 GB, free: 13.69 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.006041, allocations: 29.7 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.006088, allocations: 112.1 kB / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.006112, allocations: 19.86 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.006149, allocations: 21.7 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.006231, allocations: 322.8 kB / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.006292, allocations: 35.97 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.006349, allocations: 43.97 kB / 0.9869 GB, free: 13.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.006473, allocations: 84.81 kB / 0.9869 GB, free: 13 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006475, allocations: 0 / 0.9869 GB, free: 13 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001545/0.00663, allocations: 125.6 kB / 0.9871 GB, free: 12.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.006643, allocations: 6.5 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.006647, allocations: 3.938 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.00666, allocations: 8 kB / 0.9871 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.006739, allocations: 16.42 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.006745, allocations: 3.938 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.006775, allocations: 7.984 kB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.006794, allocations: 8 kB / 0.9871 GB, free: 12.82 MB / 0.948 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 7.318e-05/0.006867, allocations: 129.8 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.006885, allocations: 7.953 kB / 0.9873 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.007217, allocations: 142.3 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.00722, allocations: 3.938 kB / 0.9874 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.007227, allocations: 11.88 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.007231, allocations: 0 / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.007348, allocations: 141.3 kB / 0.9875 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007349, allocations: 3.938 kB / 0.9875 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.007395, allocations: 15.98 kB / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007397, allocations: 4 kB / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.007407, allocations: 3.984 kB / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007408, allocations: 0 / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007408, allocations: 0 / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.007589, allocations: 227.4 kB / 0.9878 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.007599, allocations: 11.94 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.007613, allocations: 0 / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.007657, allocations: 4 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.007704, allocations: 11.92 kB / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.007713, allocations: 11.92 kB / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.819e-05/0.007761, allocations: 105 kB / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007761, allocations: 0 / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001632/0.007925, allocations: 23.95 kB / 0.9879 GB, free: 11.92 MB / 0.948 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.0001037/0.008028, allocations: 99.19 kB / 0.988 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.008201, allocations: 95.92 kB / 0.9881 GB, free: 11.72 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008203, allocations: 0 / 0.9881 GB, free: 11.72 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.555e-05/0.008269, allocations: 56.16 kB / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.00844, allocations: 0 / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.008791, allocations: 259.5 kB / 0.9884 GB, free: 11.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.108e-05/0.008853, allocations: 84.31 kB / 0.9885 GB, free: 11.28 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.008885, allocations: 16.48 kB / 0.9885 GB, free: 11.26 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.008886, allocations: 0 / 0.9885 GB, free: 11.26 MB / 0.948 GB Notification: Performance of Templates: time 0.002011/0.0109, allocations: 1.231 MB / 0.9897 GB, free: 10.04 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.890207608230412]