Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001327/0.001327, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001426/0.001426, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.497/1.497, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 443.5 MB / 0.7293 GB, free: 14.44 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.88 kB / 1.057 GB, free: 1.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.29, allocations: 160.7 MB / 1.214 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002781/0.2928, allocations: 1.602 MB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.2937, allocations: 0.5043 MB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.2937, allocations: 0 / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.2938, allocations: 11.86 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.406e-05/0.2939, allocations: 15.81 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2941, allocations: 43.94 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.2942, allocations: 79.7 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2944, allocations: 40.16 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.2945, allocations: 35.84 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.2946, allocations: 39.84 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.2946, allocations: 8 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.56e-05/0.2946, allocations: 11.98 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.2947, allocations: 27.91 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.2948, allocations: 39.73 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.2949, allocations: 87.58 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2949, allocations: 4 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2949, allocations: 3.938 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2949, allocations: 0 / 1.217 GB, free: 14.26 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.0005875/0.2955, allocations: 407 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2955, allocations: 8.031 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.2956, allocations: 12.84 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.2958, allocations: 194.1 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2958, allocations: 4.375 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.2958, allocations: 8.375 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.2961, allocations: 112.9 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2961, allocations: 3.938 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2961, allocations: 4 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.2961, allocations: 7.938 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.2964, allocations: 91.92 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.297, allocations: 388.5 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.2971, allocations: 54.55 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.2972, allocations: 48.95 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.2973, allocations: 0 / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.2973, allocations: 38.56 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.2973, allocations: 0 / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004894/0.2978, allocations: 169.5 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2978, allocations: 55.41 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.298, allocations: 133.8 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.298, allocations: 25.7 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.298, allocations: 112.2 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2981, allocations: 15.86 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.2981, allocations: 25.7 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2983, allocations: 322.8 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.2984, allocations: 35.97 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.2985, allocations: 39.97 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.2987, allocations: 92.8 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2987, allocations: 0 / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002881/0.299, allocations: 125.5 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.299, allocations: 5.875 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.299, allocations: 4 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.299, allocations: 0 / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.2992, allocations: 19.92 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2992, allocations: 7.984 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.2993, allocations: 7.938 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.2993, allocations: 8 kB / 1.219 GB, free: 11.51 MB / 0.9669 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 9.261e-05/0.2994, allocations: 117.8 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.2994, allocations: 7.953 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.2998, allocations: 146.2 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2998, allocations: 8.438 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2998, allocations: 0 / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2998, allocations: 0 / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3, allocations: 209.6 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3, allocations: 8 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3001, allocations: 15.98 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3001, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3001, allocations: 3.984 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3001, allocations: 7.922 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3001, allocations: 3.938 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.3005, allocations: 227.4 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.3005, allocations: 89 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3006, allocations: 4 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3007, allocations: 7.938 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.3007, allocations: 7.984 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3007, allocations: 8 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.251e-05/0.3008, allocations: 103.2 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3008, allocations: 0 / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002406/0.301, allocations: 19.94 kB / 1.22 GB, free: 10.43 MB / 0.9669 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.0001454/0.3012, allocations: 99.25 kB / 1.22 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002988/0.3015, allocations: 91.88 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3015, allocations: 8 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3016, allocations: 47.95 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3018, allocations: 9.875 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.3023, allocations: 244.6 kB / 1.22 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.3026, allocations: 0.7041 MB / 1.221 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.3027, allocations: 15.42 kB / 1.221 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.3027, allocations: 4 kB / 1.221 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of Templates: time 0.002961/0.3057, allocations: 1.118 MB / 1.222 GB, free: 8.035 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.600010565947741]